Ignore:
Timestamp:
2016-06-17 18:45:13 (4 years ago)
Author:
eemjohla
Message:

17.6. Muutoksia muutoksia...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/24/EemeliL/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatforms.cs

    r7404 r7445  
    99public class JumpingOnPlatforms  : PhysicsGame 
    1010{ 
    11     double nopeus = 300; 
    12     double hyppyNopeus = 800; 
     11    double nopeus = 500; 
     12    double hyppyNopeus = 1000; 
    1313    const int RUUDUN_KOKO = 40; 
    1414 
     
    134134        Keyboard.Listen(Key.R, ButtonState.Pressed, AloitaAlusta, "Aloita peli alusta"); 
    135135 
    136         Keyboard.Listen(Key.P, ButtonState.Pressed, Nopeuta, null, 2000.0);         
    137         Keyboard.Listen(Key.N, ButtonState.Pressed, Nopeuta, null, 300.0); 
    138         Keyboard.Listen(Key.S, ButtonState.Pressed, Nopeuta, null, 30.0); 
    139  
    140         Keyboard.Listen(Key.J, ButtonState.Pressed, NopeutaHyppy, null, 3000.0); 
    141         Keyboard.Listen(Key.H, ButtonState.Pressed, NopeutaHyppy, null, 800.0); 
     136        //Keyboard.Listen(Key.P, ButtonState.Pressed, Nopeuta, null, 2000.0);         
     137        //Keyboard.Listen(Key.N, ButtonState.Pressed, Nopeuta, null, 300.0); 
     138        //Keyboard.Listen(Key.S, ButtonState.Pressed, Nopeuta, null, 30.0); 
     139        // 
     140        //Keyboard.Listen(Key.J, ButtonState.Pressed, NopeutaHyppy, null, 3000.0); 
     141        //Keyboard.Listen(Key.H, ButtonState.Pressed, NopeutaHyppy, null, 800.0); 
    142142        
    143143        ControllerOne.Listen(Button.Back, ButtonState.Pressed, Exit, "Poistu pelistä"); 
Note: See TracChangeset for help on using the changeset viewer.