Changeset 1743 for 2011/23/vihakuli/Runner/Runner/Runner
- Timestamp:
- 2011-06-07 21:32:50 (10 years ago)
- 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 77 77 Mouse.ListenOn(kohta2, MouseButton.Left, ButtonState.Pressed, Lopeta, null); 78 78 Mouse.ListenOn(valitseMaa, MouseButton.Left, ButtonState.Pressed, ValikkoMaa, null); 79 Keyboard.Listen(Key.Enter, ButtonState.Pressed, AloitaPeli, null); 79 80 80 81 Mouse.IsCursorVisible = true; … … 128 129 ukko = new PlatformCharacter(80, 80); 129 130 ukko.X = spawn.X; 130 ukko.Y = spawn.Y ;131 ukko.Y = spawn.Y + 1; 131 132 ukko.LinearDamping = 0.99; 132 133 ukko.Restitution = 0; … … 143 144 144 145 void UkkoTormasi(PhysicsObject tormaaja, PhysicsObject kohde) 145 { 146 if (kohde.Color == Color.Red) 146 { if (kohde.Color == Color.Red) 147 147 { 148 148 KorkeaHyppyAika.Reset(); -
2011/23/vihakuli/Runner/Runner/Runner/Runner.csproj
r1740 r1743 130 130 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 131 131 </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> 132 138 <Content Include="ukko1.png"> 133 139 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Note: See TracChangeset
for help on using the changeset viewer.