Changeset 8646 for 2017


Ignore:
Timestamp:
2017-06-14 11:58:22 (2 years ago)
Author:
npo17_13
Message:
 
Location:
2017/24/SebastianH/JumpingAdventure/JumpingAdventure/JumpingAdventure
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/SebastianH/JumpingAdventure/JumpingAdventure/JumpingAdventure/JumpingAdventure.cs

    r8632 r8646  
    1212    public override void Begin() 
    1313    { 
    14         janis = new PhysicsObject(10.0, 60.0, Shape.Ellipse); 
     14        janis = new PhysicsObject(50.0, 50.0, Shape.Circle); 
    1515        janis.X = 200.0; 
    1616        janis.Y = 400.0; 
     
    1818        Add (janis); 
    1919 
    20         Level.Background.CreateStars(1000000); 
     20        Level.Background.CreateStars(100000); 
     21 
     22        Surface alaReuna = Surface.CreateBottom(Level, 30, 100, 40); 
     23        Add(alaReuna); 
     24        Surface ylaReuna = Surface.CreateTop(Level, 20, 60, 110); 
     25        Add(ylaReuna); 
     26        Surface vasenReuna = Surface.CreateLeft(Level, 40, 150, 80); 
     27        Add(vasenReuna); 
     28        Surface oikeaReuna = Surface.CreateRight(Level, 50, 10, 170); 
     29        Add(oikeaReuna); 
    2130 
    2231        Keyboard.Listen(Key.Left, ButtonState.Down, LiikutaPelaajaa, null, new Vector(-1000, 0)); 
Note: See TracChangeset for help on using the changeset viewer.