Changeset 8206 for 2016/30


Ignore:
Timestamp:
2016-07-28 14:26:40 (3 years ago)
Author:
almajono
Message:
 
Location:
2016/30/AleksiN/name
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2016/30/AleksiN/name/name/name/name.cs

    r8205 r8206  
    1818    { 
    1919 
    20         Level.Width = Screen.Width * 25; 
     20        Level.Width = Screen.Width * 4; 
    2121        SmoothTextures = true; 
    2222        IsFullScreen = false; 
     
    2727        Timer(); 
    2828        Keys(); 
    29  
    30         GameObject goal = new GameObject(50.0, 250.0); 
    31         Add(goal); 
    32         goal.X = Level.Right; 
    3329 
    3430    } 
     
    5248        label.DecimalPlaces = 1; 
    5349        label.BindTo(timer.SecondCounter); 
     50        label.X = Screen.Left + 50; 
     51        label.Y = Screen.Top - 50; 
    5452        Add(label); 
    5553    } 
    5654    void CreateLevel() 
    5755    { 
    58         Surface level = Surface.CreateBottom(Level, 500, 800, 200, 200); 
     56        Surface level = Surface.CreateBottom(Level, 10, 20, 5, 20); 
    5957        Add(level); 
    6058        level.Left = Screen.Left; 
     59        GameObject goal = new GameObject(50.0, 250.0); 
     60        goal.Right = level.Right; 
     61        Add(goal); 
    6162        Gravity = new Vector(0.0, -800.0); 
    62  
    63         Level.Width = level.Width; 
    64         Level.CreateBorders(); 
    6563    } 
    6664    void CreatePlayer() 
Note: See TracChangeset for help on using the changeset viewer.