Ignore:
Timestamp:
2015-06-25 14:45:27 (6 years ago)
Author:
jojuojal
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2015/26/JoonaO/Autopeli1.cs

    r6342 r6364  
    1212    Image taustaKuva2 = LoadImage("rata2"); 
    1313    Automobile auto; 
    14     Image autonKuva = LoadImage("Auto"); 
     14    Image autonKuva = LoadImage("Auto3"); 
    1515    Image taustaKuva = LoadImage("rata"); 
     16     
    1617    public override void Begin() 
    1718    { 
     
    3940        alkuValikko.AddItemHandler(2, Exit); 
    4041        Pause(); 
    41         IsPaused = true; 
     42         
    4243        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
    4344        ControllerOne.Vibrate(0.5, 0.5, 0.0, 0.0, 0.1); 
     
    4849        Keyboard.Listen(Key.Down, ButtonState.Down, Jarruta, null); 
    4950        Keyboard.Listen(Key.P, ButtonState.Pressed, Pause, "Pysäyttää pelin"); 
    50          
     51        Mouse.IsCursorVisible = true; 
    5152        AddCollisionHandler(auto, PelaajaTormasi); 
    5253    } 
Note: See TracChangeset for help on using the changeset viewer.