Ignore:
Timestamp:
2016-06-09 22:48:43 (4 years ago)
Author:
sieerinn
Message:

SPEED vakio otettu käyttöön

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/23/ohjaajat/Punasininen/Punasininen/Punasininen/Punasininen.cs

    r7220 r7221  
    1010public class Punasininen : PhysicsGame 
    1111{ 
    12     private const double SPEED = 450; 
     12    private const double SPEED = 300; 
    1313    private const double JUMPSPEED = 1250; 
    1414    private const int TILE_SIZE = 60; 
     
    331331        if (stick.StateVector.Magnitude > 0.15) 
    332332        { 
    333             //player.Walk(stick.StateVector.X > 0 ? Direction.Right : Direction.Left); 
    334             player.Walk(stick.StateVector.X * 300); 
     333            player.Walk(stick.StateVector.X * SPEED); 
    335334        } 
    336335 
Note: See TracChangeset for help on using the changeset viewer.