Changeset 1743 for 2011/23/vihakuli


Ignore:
Timestamp:
2011-06-07 21:32:50 (8 years ago)
Author:
vihakuli
Message:
 
Location:
2011/23/vihakuli/Runner/Runner/Runner
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2011/23/vihakuli/Runner/Runner/Runner/Peli.cs

    r1740 r1743  
    7777        Mouse.ListenOn(kohta2, MouseButton.Left, ButtonState.Pressed, Lopeta, null); 
    7878        Mouse.ListenOn(valitseMaa, MouseButton.Left, ButtonState.Pressed, ValikkoMaa, null); 
     79        Keyboard.Listen(Key.Enter, ButtonState.Pressed, AloitaPeli, null); 
    7980 
    8081        Mouse.IsCursorVisible = true; 
     
    128129        ukko = new PlatformCharacter(80, 80); 
    129130        ukko.X = spawn.X; 
    130         ukko.Y = spawn.Y; 
     131        ukko.Y = spawn.Y + 1; 
    131132        ukko.LinearDamping = 0.99; 
    132133        ukko.Restitution = 0; 
     
    143144 
    144145    void UkkoTormasi(PhysicsObject tormaaja, PhysicsObject kohde) 
    145     { 
    146         if (kohde.Color == Color.Red) 
     146    {        if (kohde.Color == Color.Red) 
    147147        { 
    148148            KorkeaHyppyAika.Reset();             
  • 2011/23/vihakuli/Runner/Runner/Runner/Runner.csproj

    r1740 r1743  
    130130      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 
    131131    </Content> 
     132    <Content Include="Maat\maa5.txt"> 
     133      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 
     134    </Content> 
     135    <Content Include="Maat\maa6.txt"> 
     136      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 
     137    </Content> 
    132138    <Content Include="ukko1.png"> 
    133139      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 
Note: See TracChangeset for help on using the changeset viewer.