Changeset 4567 for 2013/30/VilleF/Lentokone/Lentokone
- Timestamp:
- 2013-07-23 13:34:50 (10 years ago)
- Location:
- 2013/30/VilleF/Lentokone/Lentokone
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2013/30/VilleF/Lentokone/Lentokone/Lentokone/Lentokone.cs
r4560 r4567 25 25 { 26 26 27 Level.Width = 1024; 28 Level.Height = 800; 29 SetWindowSize(1024, 800, false); 30 31 27 32 28 33 … … 30 35 Level.Height = 600; 31 36 SetWindowSize(800, 600, false); 37 32 38 LuoKentta(); 33 39 LuoPelaaja(); 34 40 LiikutaPelaajaa(); 35 41 Camera.ZoomToLevel(); 42 //TiputaPommi(); 36 43 PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 37 44 … … 51 58 KaannaPelaajaa, null, 0.0); 52 59 } 53 54 void KaannaPelaajaa(double kaannos) 60 void KaannaPelaajaa(double kaannos) 55 61 { 56 62 pelaaja.AngularVelocity = kaannos; 57 63 58 64 } 59 60 65 void PelaajaTormasi(PhysicsObject tormaaja, PhysicsObject kohde) 66 { 67 68 } 61 69 void LiikutaPelaajaa(int suunta) 62 70 { … … 83 91 pelaaja.MirrorImage(); 84 92 Add(pelaaja); 85 93 AddCollisionHandler(pelaaja, CollisionHandler.ExplodeBoth(200, true)); 86 94 } 87 95 void LiikutaPelaajaa() … … 93 101 94 102 } 103 95 104 } -
2013/30/VilleF/Lentokone/Lentokone/LentokoneContent/LentokoneContent.contentproj
r4545 r4567 66 66 </Compile> 67 67 </ItemGroup> 68 <ItemGroup> 69 <Compile Include="havusaurus\havusaurus01.png"> 70 <Name>havusaurus01</Name> 71 <Importer>TextureImporter</Importer> 72 <Processor>TextureProcessor</Processor> 73 </Compile> 74 <Compile Include="havusaurus\Havusaurus02.png"> 75 <Name>Havusaurus02</Name> 76 <Importer>TextureImporter</Importer> 77 <Processor>TextureProcessor</Processor> 78 </Compile> 79 </ItemGroup> 68 80 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 69 81 <!-- 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.