Changeset 7221 for 2016/23


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

SPEED vakio otettu käyttöön

Location:
2016/23/ohjaajat/Punasininen/Punasininen/Punasininen
Files:
2 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 
  • 2016/23/ohjaajat/Punasininen/Punasininen/Punasininen/Punasininen.csproj

    r7208 r7221  
    156156    </BootstrapperPackage> 
    157157  </ItemGroup> 
     158  <ItemGroup> 
     159    <None Include="Content\SymtextLarge.xnb" /> 
     160    <None Include="Content\SymtextSmall.xnb" /> 
     161  </ItemGroup> 
    158162  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 
    159163  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" /> 
Note: See TracChangeset for help on using the changeset viewer.