Ignore:
Timestamp:
2011-06-07 21:32:50 (8 years ago)
Author:
vihakuli
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/23/vihakuli/Runner/Runner/Runner/Peli.cs

    r1740 r1743  
    7777        Mouse.ListenOn(kohta2, MouseButton.Left, ButtonState.Pressed, Lopeta, null); 
    7878        Mouse.ListenOn(valitseMaa, MouseButton.Left, ButtonState.Pressed, ValikkoMaa, null); 
     79        Keyboard.Listen(Key.Enter, ButtonState.Pressed, AloitaPeli, null); 
    7980 
    8081        Mouse.IsCursorVisible = true; 
     
    128129        ukko = new PlatformCharacter(80, 80); 
    129130        ukko.X = spawn.X; 
    130         ukko.Y = spawn.Y; 
     131        ukko.Y = spawn.Y + 1; 
    131132        ukko.LinearDamping = 0.99; 
    132133        ukko.Restitution = 0; 
     
    143144 
    144145    void UkkoTormasi(PhysicsObject tormaaja, PhysicsObject kohde) 
    145     { 
    146         if (kohde.Color == Color.Red) 
     146    {        if (kohde.Color == Color.Red) 
    147147        { 
    148148            KorkeaHyppyAika.Reset();             
Note: See TracChangeset for help on using the changeset viewer.