- Timestamp:
- 2016-06-22 14:34:07 (7 years ago)
- Location:
- 2016/25/MatiasA/trump man XD
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/25/MatiasA/trump man XD/trump man XD/trump man XDContent/TrumpManXDContent.contentproj
r7478 r7485 88 88 </Compile> 89 89 </ItemGroup> 90 <ItemGroup> 91 <Compile Include="meksikolainen.png"> 92 <Name>meksikolainen</Name> 93 <Importer>TextureImporter</Importer> 94 <Processor>TextureProcessor</Processor> 95 </Compile> 96 </ItemGroup> 97 <ItemGroup> 98 <Compile Include="räjähdys.png"> 99 <Name>räjähdys</Name> 100 <Importer>TextureImporter</Importer> 101 <Processor>TextureProcessor</Processor> 102 </Compile> 103 </ItemGroup> 90 104 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 91 105 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2016/25/MatiasA/trump man XD/trump man XD/trump man XDContent/kentta1.txt
r7478 r7485 1 ############################################################# 2 # *** **** ***** **** ****** *****# 3 ##### ##### ##### ##### ###### ###### 4 # ***** ***** ***** **** ***** # 5 # ##### ##### ##### ##### ##### # 6 #**** ***** ***** ***** ***** ***** # 7 ##### ##### ##### ##### ##### ##### # 8 # ***** ***** ***** ***** ***** # 9 # ##### ##### ##### ##### ##### # 10 #**** ***** ***** ***** ***** *****# 11 ##### ##### ##### ##### ##### ###### 12 # ****** ***** ***** ***** ***** # 13 # ###### ##### ##### ##### ##### # 14 # *** ***** ***** ***** ***** *****# 15 ##### ##### ##### ##### ##### ###### 16 # ***** ***** **** ***** ***** # 17 # ##### ##### ##### ##### ##### # 18 # *** ***** ***** ***** ***** *****# 19 ##### ##### ##### ##### ##### ###### 20 # ***** **** ***** ***** ***** # 21 # ##### ##### ##### ##### ##### # 22 # ## # 23 # N *********************************************** # 24 ############################################################# 1 2 3 4 5 6 7 8 9 10 ############################################################################################### 11 # # 12 # ** ** ** ** ** ** *** ***M# 13 # ##### ##### ##### ##### ##### ##### ##### ###### 14 # # 15 # *** ** ** ** ** ** ** ** # 16 ###### ##### ##### ##### ##### ##### ##### ##### # 17 # # 18 # ** ** ** ** ** *** ** *** # 19 # ##### ##### ##### ##### ##### ##### ##### ###### 20 # # 21 # ## ** ** ** *** *** *** *** # 22 ##### ##### ##### ##### ##### ##### ##### ##### # 23 # # 24 # *** ** ** *** *** ** ** ** # 25 # ##### ##### ##### ##### ##### ##### ##### ##### 26 # # 27 # ** ** ** ** ** ** ** *** # 28 ##### ##### ##### ##### ##### ##### ##### ##### # 29 # # 30 # N ** ** *** *** ** ** ** # 31 ############################################################################################### -
2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml
r7478 r7485 36 36 <Options>None</Options> 37 37 <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2016-06-2 1T13:50:06.2259849+03:00</Time>38 <Time>2016-06-22T14:11:14.18582+03:00</Time> 39 39 </Item> 40 40 <Item> … … 64 64 <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\tonni.xnb</Output> 65 65 <Time>2016-06-21T14:41:02.202568+03:00</Time> 66 </Item> 67 <Item> 68 <Source>meksikolainen.png</Source> 69 <Name>meksikolainen</Name> 70 <Importer>TextureImporter</Importer> 71 <Processor>TextureProcessor</Processor> 72 <Options>None</Options> 73 <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\meksikolainen.xnb</Output> 74 <Time>2016-06-21T14:49:24.3182029+03:00</Time> 75 </Item> 76 <Item> 77 <Source>räjähdys.png</Source> 78 <Name>räjähdys</Name> 79 <Importer>TextureImporter</Importer> 80 <Processor>TextureProcessor</Processor> 81 <Options>None</Options> 82 <Output>C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\räjähdys.xnb</Output> 83 <Time>2016-06-22T10:39:06.2061299+03:00</Time> 66 84 </Item> 67 85 <BuildSuccessful>true</BuildSuccessful> -
2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt
r7478 r7485 6 6 Content\trump12.xnb 7 7 Content\tonni.xnb 8 Content\meksikolainen.xnb 9 Content\rÀjÀhdys.xnb -
2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/obj/x86/Debug/trump_man_XD.csproj.FileListAbsolute.txt
r7478 r7485 14 14 C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\trump12.xnb 15 15 C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\tonni.xnb 16 C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\meksikolainen.xnb 17 C:\Users\ohjelmointi\Documents\MatiasA\trump man XD\trump man XD\trump_man_XD\bin\x86\Debug\Content\rÀjÀhdys.xnb -
2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/trump_man_XD.cs
r7478 r7485 12 12 const double hyppyNopeus = 750; 13 13 const int RUUDUN_KOKO = 40; 14 14 ExplosionSystem räjähdys; 15 15 PlatformCharacter pelaaja1; 16 16 17 17 Image pelaajanKuva = LoadImage("trump12"); 18 18 Image tahtiKuva = LoadImage("tonni"); 19 19 Image räjähdyskuva = LoadImage("räjähdys"); 20 20 SoundEffect maaliAani = LoadSoundEffect("maali"); 21 21 … … 23 23 { 24 24 Gravity = new Vector(0, -1000); 25 25 räjähdys = new ExplosionSystem(räjähdyskuva, 10000); 26 Add(räjähdys); 26 27 LuoKentta(); 27 28 LisaaNappaimet(); … … 38 39 kentta.SetTileMethod('*', LisaaTahti); 39 40 kentta.SetTileMethod('N', LisaaPelaaja); 41 kentta.SetTileMethod('M', LisaaMaali); 40 42 kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 41 43 Level.CreateBorders(); … … 50 52 Add(taso); 51 53 } 52 54 void LisaaMaali(Vector paikka, double leveys, double korkeus) 55 { 56 PhysicsObject Maali = PhysicsObject.CreateStaticObject(leveys, korkeus); 57 Maali.Position = paikka; 58 Maali.Color = Color.Purple; 59 Maali.Tag = "Maali"; 60 Add(Maali); 61 } 53 62 void LisaaTahti(Vector paikka, double leveys, double korkeus) 54 63 { … … 69 78 AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); 70 79 Add(pelaaja1); pelaaja1.Weapon = new PlasmaCannon(30, 10); 71 80 AddCollisionHandler(pelaaja1, "Maali", paasitmaaliin); 72 81 //Ammusten määrä aluksi: 73 82 pelaaja1.Weapon.Ammo.Value = 1000; … … 77 86 pelaaja1.Weapon.ProjectileCollision = AmmusOsui; 78 87 } 79 88 void paasitmaaliin(PhysicsObject pelaaja,PhysicsObject maali) 89 { 90 ConfirmExit(); 91 } 80 92 void LisaaNappaimet() 81 93 { … … 116 128 void AmmusOsui(PhysicsObject ammus, PhysicsObject kohde) 117 129 { 118 //ammus.Destroy(); 130 ammus.Destroy(); 131 räjähdys.AddEffect(ammus.Position, 15000); 119 132 } 120 133 void AmmuAseella(PlatformCharacter pelaaja) -
2016/25/MatiasA/trump man XD/trump man XD/trump_man_XD/trump_man_XD.csproj.Debug.cachefile
r7478 r7485 6 6 Content\trump12.xnb 7 7 Content\tonni.xnb 8 Content\meksikolainen.xnb 9 Content\rÀjÀhdys.xnb
Note: See TracChangeset
for help on using the changeset viewer.