Changeset 8079 for 2016/27/AnttiN
- Timestamp:
- 2016-07-22 17:45:15 (6 years ago)
- Location:
- 2016/27/AnttiN/Bossfight
- Files:
-
- 8 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/27/AnttiN/Bossfight/Bossfight/Bossfight/Bossfight.cs
r8078 r8079 18 18 Image tahtiKuva = LoadImage("tahti"); 19 19 Image laavaKuva = LoadImage("Laava"); 20 Image maaKuva = LoadImage("Maa"); 21 Image ruohomaaKuva = LoadImage("Ruohomaa"); 22 Image puuKuva = LoadImage("Puu"); 23 Image lehtiKuva = LoadImage("lehti"); 20 24 21 25 SoundEffect maaliAani = LoadSoundEffect("maali"); … … 40 44 kentta.SetTileMethod('N', LisaaPelaaja); 41 45 kentta.SetTileMethod('L', LisaaLaava); 46 kentta.SetTileMethod('M', LisaaMaa); 47 kentta.SetTileMethod('R', LisaaRuohomaa); 48 kentta.SetTileMethod('P', LisaaPuu); 49 kentta.SetTileMethod('B', LisaaLehti); 42 50 kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 43 51 Level.CreateBorders(); 44 52 Level.Background.CreateGradient(Color.White, Color.SkyBlue); 45 53 } 54 55 void LisaaPuu(Vector paikka, double leveys, double korkeus) 56 { 57 58 PhysicsObject puu = PhysicsObject.CreateStaticObject(leveys, korkeus); 59 puu.IgnoresCollisionResponse = true; 60 puu.Position = paikka; 61 puu.Image = puuKuva; 62 Add(puu); 63 64 } 65 66 void LisaaLehti(Vector paikka, double leveys, double korkeus) 67 { 68 69 PhysicsObject lehti = PhysicsObject.CreateStaticObject(leveys, korkeus); 70 lehti.IgnoresCollisionResponse = true; 71 lehti.Position = paikka; 72 lehti.Image = lehtiKuva; 73 Add(lehti); 74 75 } 76 77 void LisaaMaa(Vector paikka, double leveys, double korkeus) 78 { 79 80 PhysicsObject maa = PhysicsObject.CreateStaticObject(leveys, korkeus); 81 maa.Position = paikka; 82 maa.Image = maaKuva; 83 Add(maa); 84 85 } 86 87 void LisaaRuohomaa(Vector paikka, double leveys, double korkeus) 88 { 89 90 PhysicsObject ruohomaa = PhysicsObject.CreateStaticObject(leveys, korkeus); 91 ruohomaa.Position = paikka; 92 ruohomaa.Image = ruohomaaKuva; 93 Add(ruohomaa); 94 95 } 96 46 97 47 98 void LisaaTaso(Vector paikka, double leveys, double korkeus) -
2016/27/AnttiN/Bossfight/Bossfight/Bossfight/Bossfight.csproj.Debug.cachefile
r8078 r8079 5 5 Content\Pelaaja.xnb 6 6 Content\Laava.xnb 7 Content\Maa.xnb 8 Content\Ruohomaa.xnb 9 Content\Puu.xnb 10 Content\lehti.xnb -
2016/27/AnttiN/Bossfight/Bossfight/Bossfight/obj/x86/Debug/Bossfight.csproj.FileListAbsolute.txt
r8078 r8079 13 13 C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Pelaaja.xnb 14 14 C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Laava.xnb 15 C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Maa.xnb 16 C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Ruohomaa.xnb 17 C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Puu.xnb 18 C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\lehti.xnb -
2016/27/AnttiN/Bossfight/Bossfight/Bossfight/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml
r8078 r8079 36 36 <Options>None</Options> 37 37 <Output>C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\kentta1.xnb</Output> 38 <Time>2016-07-22T1 1:36:55.3976746+03:00</Time>38 <Time>2016-07-22T17:41:17.3831295+03:00</Time> 39 39 </Item> 40 40 <Item> … … 55 55 <Output>C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Laava.xnb</Output> 56 56 <Time>2016-07-22T11:18:39.481304+03:00</Time> 57 </Item> 58 <Item> 59 <Source>Maa.png</Source> 60 <Name>Maa</Name> 61 <Importer>TextureImporter</Importer> 62 <Processor>TextureProcessor</Processor> 63 <Options>None</Options> 64 <Output>C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Maa.xnb</Output> 65 <Time>2016-07-22T17:14:03.051256+03:00</Time> 66 </Item> 67 <Item> 68 <Source>Ruohomaa.png</Source> 69 <Name>Ruohomaa</Name> 70 <Importer>TextureImporter</Importer> 71 <Processor>TextureProcessor</Processor> 72 <Options>None</Options> 73 <Output>C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Ruohomaa.xnb</Output> 74 <Time>2016-07-22T17:16:27.1752745+03:00</Time> 75 </Item> 76 <Item> 77 <Source>Puu.png</Source> 78 <Name>Puu</Name> 79 <Importer>TextureImporter</Importer> 80 <Processor>TextureProcessor</Processor> 81 <Options>None</Options> 82 <Output>C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\Puu.xnb</Output> 83 <Time>2016-07-22T17:29:59.3021018+03:00</Time> 84 </Item> 85 <Item> 86 <Source>lehti.png</Source> 87 <Name>lehti</Name> 88 <Importer>TextureImporter</Importer> 89 <Processor>TextureProcessor</Processor> 90 <Options>None</Options> 91 <Output>C:\Antti\peliohjelmointi pelit\Bossfight\Bossfight\Bossfight\bin\x86\Debug\Content\lehti.xnb</Output> 92 <Time>2016-07-22T17:35:08.3668923+03:00</Time> 57 93 </Item> 58 94 <BuildSuccessful>true</BuildSuccessful> -
2016/27/AnttiN/Bossfight/Bossfight/Bossfight/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt
r8078 r8079 5 5 Content\Pelaaja.xnb 6 6 Content\Laava.xnb 7 Content\Maa.xnb 8 Content\Ruohomaa.xnb 9 Content\Puu.xnb 10 Content\lehti.xnb -
2016/27/AnttiN/Bossfight/Bossfight/BossfightContent/BossfightContent.contentproj
r8078 r8079 81 81 </Compile> 82 82 </ItemGroup> 83 <ItemGroup> 84 <Compile Include="Maa.png"> 85 <Name>Maa</Name> 86 <Importer>TextureImporter</Importer> 87 <Processor>TextureProcessor</Processor> 88 </Compile> 89 </ItemGroup> 90 <ItemGroup> 91 <Compile Include="Ruohomaa.png"> 92 <Name>Ruohomaa</Name> 93 <Importer>TextureImporter</Importer> 94 <Processor>TextureProcessor</Processor> 95 </Compile> 96 </ItemGroup> 97 <ItemGroup> 98 <Compile Include="Puu.png"> 99 <Name>Puu</Name> 100 <Importer>TextureImporter</Importer> 101 <Processor>TextureProcessor</Processor> 102 </Compile> 103 </ItemGroup> 104 <ItemGroup> 105 <Compile Include="lehti.png"> 106 <Name>lehti</Name> 107 <Importer>TextureImporter</Importer> 108 <Processor>TextureProcessor</Processor> 109 </Compile> 110 </ItemGroup> 83 111 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 84 112 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2016/27/AnttiN/Bossfight/Bossfight/BossfightContent/kentta1.txt
r8078 r8079 4 4 5 5 6 7 8 9 * N ## ## 10 ###########################LL############################ 11 ######################################################### 12 ######################################################### 13 ######################################################### 14 ######################################################### 15 ######################################################### 16 ######################################################### 17 ######################################################### 18 ######################################################### 19 ######################################################### 20 ######################################################### 21 ######################################################### 22 ######################################################### 23 ######################################################### 24 ######################################################### 25 ######################################################### 6 BBB 7 BBBBB 8 BBB 9 P 10 P 11 * N P RR RR 12 RRRRRRRRRRRRRRRRRRRRRRRRRMMLLMMRRRRRRRRRRRRRRRRRRRRRRRRRR 13 MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM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