Changeset 8912
- Timestamp:
- 2017-07-05 11:26:37 (5 years ago)
- Location:
- 2016/koodauskerho/VilleH
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/koodauskerho/VilleH/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/ninjakissanhikileikit.cs
r8911 r8912 8 8 9 9 public class Tasohyppelypeli1 : PhysicsGame 10 { 10 { 11 Image taustakuva = LoadImage("kentta"); 11 12 double nopeus = 650; 12 13 double hyppyNopeus = 500; … … 51 52 kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 52 53 Level.CreateBorders(); 53 Level.Background.CreateGradient(Color.White, Color.SkyBlue);54 54 55 } 55 56 … … 208 209 if (vastaus[0] == "YOLO") 209 210 { 210 nopeus = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 .0;211 nopeus = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.0; 211 212 } 212 213 if (vastaus[0] == "spawn") … … 214 215 pelaaja1.Position = alkupaikka; 215 216 } 216 if (vastaus[0] == "hax") 217 218 if (vastaus[0] == "hax") 217 219 { 218 220 nopeus = 100; -
2016/koodauskerho/VilleH/Tasohyppelypeli/Tasohyppelypeli/TasohyppelypeliContent/TasohyppelypeliContent.contentproj
r8880 r8912 130 130 </Compile> 131 131 </ItemGroup> 132 <ItemGroup> 133 <Content Include="kentta.png"> 134 <Name>kentta</Name> 135 <Importer>TextureImporter</Importer> 136 <Processor>TextureProcessor</Processor> 137 </Content> 138 </ItemGroup> 132 139 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 133 140 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset
for help on using the changeset viewer.