Changeset 745 for 2010/23


Ignore:
Timestamp:
2010-06-11 12:45:36 (9 years ago)
Author:
vajuanse
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2010/23/vajuanse/Get the money/Peli.cs

    r725 r745  
    7575            ControllerOne.Listen(Button.LeftTrigger, ButtonState.Down,kiihdyta,"kiihdutää!",auto); 
    7676            ControllerOne.Listen(Button.RightTrigger,ButtonState.Down,jarruta,"jarrutaa",auto); 
    77             ControllerOne.Listen(Button.LeftShoulder,ButtonState.Down,kaanny,"käänny", auto,Angle.Degrees(10)); 
    78             ControllerOne.Listen(Button.RightShoulder,ButtonState.Down,kaanny,"käänny", auto,Angle.Degrees(-10)); 
     77            ControllerOne.Listen(Button.Y,ButtonState.Down,kaanny,"käänny", auto,Angle.Degrees(10)); 
     78            ControllerOne.Listen(Button.A,ButtonState.Down,kaanny,"käänny", auto,Angle.Degrees(-10)); 
    7979 
    8080            ControllerOne.Listen(Button.B, ButtonState.Pressed, ShowControlHelp, "näytäohjeet"); 
     
    8888            { 
    8989                auto = new Automobile(40, 30); 
    90                 auto.Mass = 140.0; 
     90                auto.Mass = 120; 
    9191                Add(auto); 
    9292                auto.X = 0; 
     
    162162                MessageDisplay.Add("Game Over"); 
    163163                pistelaskuri.Reset(); 
    164                 ControllerOne.Vibrate(1, 1, 3, 3,3); 
    165164            } 
    166165            else if (kohde == raha) 
Note: See TracChangeset for help on using the changeset viewer.