- Timestamp:
- 2015-07-23 14:59:09 (8 years ago)
- Location:
- 2015/30/MarkusS/git_gud_the_game
- Files:
-
- 9 added
- 1 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/git_gud_the_game.cs
r6969 r6985 92 92 Pelaaja pelaaja1; 93 93 Image pelaajanKuva = LoadImage("pelaajankuva"); 94 Image kavelyVasemmalle = LoadImage("PelaajanKuvaSivuVasen"); 95 Image kavelyOikealle = LoadImage("PelaajanKuvaSivu"); 96 Image kavelyYlos = LoadImage("PelaajanKuvaSelka"); 94 97 Image SeinanKuva = LoadImage("Seina"); 95 98 Image vihollisenKuva = LoadImage("vihollisenKuva"); … … 97 100 Image haulikonKuva = LoadImage("haulikko"); 98 101 IntMeter pisteLaskuri; 102 Image FinalBoss = LoadImage("FinalBoss"); 99 103 const double nopeus = 400; 100 104 … … 119 123 ruudut.SetTileMethod(Color.Red, LuoVihollinen); 120 124 ruudut.SetTileMethod(Color.FromHexCode("808080"), LuoEsine); 121 //ruudut.SetTileMethod(Color.Harlequin, LuoHCVihollinen);125 ruudut.SetTileMethod(Color.Harlequin, LuoHCVihollinen); 122 126 ruudut.SetTileMethod(Color.FromHexCode("B6FF00"), SpawnaaHaulikko); 123 127 ruudut.Execute(ruudunkoko, ruudunkoko); 124 128 125 129 LuoPistelaskuri(); 126 //Level.Background.Image = taustaKuva; 130 //Level.Background.Image = taustaKuva; 127 131 //Level.Background.ScaleToLevelFull(); 128 132 … … 240 244 if (tatinTila.StateVector.Angle.MainDirection == Direction.Right) 241 245 { 246 pelaaja.Image = kavelyOikealle; 242 247 pelaaja.Move(new Vector(nopeus, 0)); 243 248 } 244 249 else if (tatinTila.StateVector.Angle.MainDirection == Direction.Left) 245 250 { 251 pelaaja.Image = kavelyVasemmalle; 246 252 pelaaja.Move(new Vector(-nopeus, 0)); 247 253 } 248 254 else if (tatinTila.StateVector.Angle.MainDirection == Direction.Down) 249 255 { 256 pelaaja.Image = pelaajanKuva; 250 257 pelaaja.Move(new Vector(0, -nopeus)); 251 258 } 252 259 else if (tatinTila.StateVector.Angle.MainDirection == Direction.Up) 253 260 { 261 pelaaja.Image = kavelyYlos; 254 262 pelaaja.Move(new Vector(0,nopeus)); 255 263 … … 323 331 void KaikkiKeratty(Vector paikka, double leveys, double korkeus) 324 332 { 325 LuoVihu(paikka, leveys, korkeus, 20, vihollisenKuva); 333 334 LuoVihu(paikka, leveys, korkeus, 20, FinalBoss); 326 335 } 327 336 void LuoEsine(Vector paikka, double leveys, double korkeus) -
2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/git_gud_the_game.csproj.Debug.cachefile
r6969 r6985 1 1 Content\kentta1.xnb 2 2 Content\Seina.xnb 3 Content\PelaajanKuva.xnb4 3 Content\Tausta.xnb 5 4 Content\haulikko.xnb 6 5 Content\Huutaa.xnb 7 6 Content\vihollisenKuva.xnb 7 Content\FinalBoss.xnb 8 Content\pelaajanKuva.xnb 9 Content\PelaajanKuvaSelka.xnb 10 Content\pelaajanKuvaSivu.xnb 11 Content\pelaajanKuvaSivuVasen.xnb -
2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/obj/x86/Debug/cachefile-{1C03E4EE-ABF7-43AF-8443-48178D554BFA}-targetpath.txt
r6969 r6985 1 1 Content\kentta1.xnb 2 2 Content\Seina.xnb 3 Content\PelaajanKuva.xnb4 3 Content\Tausta.xnb 5 4 Content\haulikko.xnb 6 5 Content\Huutaa.xnb 7 6 Content\vihollisenKuva.xnb 7 Content\FinalBoss.xnb 8 Content\pelaajanKuva.xnb 9 Content\PelaajanKuvaSelka.xnb 10 Content\pelaajanKuvaSivu.xnb 11 Content\pelaajanKuvaSivuVasen.xnb -
2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/obj/x86/Debug/git_gud_the_game.csproj.FileListAbsolute.txt
r6928 r6985 8 8 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\obj\x86\Debug\git_gud_the_game.pdb 9 9 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\kentta1.xnb 10 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuva.xnb11 10 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\Seina.xnb 12 11 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\Huutaa.xnb … … 14 13 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\Tausta.xnb 15 14 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\haulikko.xnb 15 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\FinalBoss.xnb 16 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuva.xnb 17 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuvaSelka.xnb 18 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivu.xnb 19 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivuVasen.xnb -
2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_gameContent/git_gud_the_gameContent.contentproj
r6969 r6985 60 60 </ItemGroup> 61 61 <ItemGroup> 62 <Compile Include="PelaajanKuva.png">63 <Name>PelaajanKuva</Name>64 <Importer>TextureImporter</Importer>65 <Processor>TextureProcessor</Processor>66 </Compile>67 </ItemGroup>68 <ItemGroup>69 62 <Compile Include="Huutaa.wav"> 70 63 <Name>Huutaa</Name> … … 94 87 </Compile> 95 88 </ItemGroup> 89 <ItemGroup> 90 <Compile Include="FinalBoss.png"> 91 <Name>FinalBoss</Name> 92 <Importer>TextureImporter</Importer> 93 <Processor>TextureProcessor</Processor> 94 </Compile> 95 </ItemGroup> 96 <ItemGroup> 97 <Compile Include="pelaajanKuva .png"> 98 <Name>pelaajanKuva</Name> 99 <Importer>TextureImporter</Importer> 100 <Processor>TextureProcessor</Processor> 101 </Compile> 102 </ItemGroup> 103 <ItemGroup> 104 <Compile Include="PelaajanKuvaSelka.png"> 105 <Name>PelaajanKuvaSelka</Name> 106 <Importer>TextureImporter</Importer> 107 <Processor>TextureProcessor</Processor> 108 </Compile> 109 <Compile Include="pelaajanKuvaSivu.png"> 110 <Name>pelaajanKuvaSivu</Name> 111 <Importer>TextureImporter</Importer> 112 <Processor>TextureProcessor</Processor> 113 </Compile> 114 <Compile Include="pelaajanKuvaSivuVasen.png"> 115 <Name>pelaajanKuvaSivuVasen</Name> 116 <Importer>TextureImporter</Importer> 117 <Processor>TextureProcessor</Processor> 118 </Compile> 119 </ItemGroup> 96 120 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 97 121 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_gameContent/obj/x86/Debug/ContentPipeline.xml
r6969 r6985 21 21 </Item> 22 22 <Item> 23 <Source>PelaajanKuva.png</Source>24 <Name>PelaajanKuva</Name>25 <Importer>TextureImporter</Importer>26 <Processor>TextureProcessor</Processor>27 <Options>None</Options>28 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuva.xnb</Output>29 <Time>2015-07-23T09:33:34.1064956+03:00</Time>30 </Item>31 <Item>32 23 <Source>Tausta.jpg</Source> 33 24 <Name>Tausta</Name> … … 45 36 <Options>None</Options> 46 37 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\haulikko.xnb</Output> 47 <Time>2015-07-23T 09:40:22.5448956+03:00</Time>38 <Time>2015-07-23T14:03:37.3366257+03:00</Time> 48 39 </Item> 49 40 <Item> … … 64 55 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\vihollisenKuva.xnb</Output> 65 56 <Time>2015-07-23T11:28:46.0105956+03:00</Time> 57 </Item> 58 <Item> 59 <Source>FinalBoss.png</Source> 60 <Name>FinalBoss</Name> 61 <Importer>TextureImporter</Importer> 62 <Processor>TextureProcessor</Processor> 63 <Options>None</Options> 64 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\FinalBoss.xnb</Output> 65 <Time>2015-07-23T13:27:09.7255242+03:00</Time> 66 </Item> 67 <Item> 68 <Source>pelaajanKuva .png</Source> 69 <Name>pelaajanKuva</Name> 70 <Importer>TextureImporter</Importer> 71 <Processor>TextureProcessor</Processor> 72 <Options>None</Options> 73 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuva.xnb</Output> 74 <Time>2015-07-23T13:48:15.1690257+03:00</Time> 75 </Item> 76 <Item> 77 <Source>PelaajanKuvaSelka.png</Source> 78 <Name>PelaajanKuvaSelka</Name> 79 <Importer>TextureImporter</Importer> 80 <Processor>TextureProcessor</Processor> 81 <Options>None</Options> 82 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuvaSelka.xnb</Output> 83 <Time>2015-07-23T14:32:14.8570257+03:00</Time> 84 </Item> 85 <Item> 86 <Source>pelaajanKuvaSivu.png</Source> 87 <Name>pelaajanKuvaSivu</Name> 88 <Importer>TextureImporter</Importer> 89 <Processor>TextureProcessor</Processor> 90 <Options>None</Options> 91 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivu.xnb</Output> 92 <Time>2015-07-23T14:41:32.7558257+03:00</Time> 93 </Item> 94 <Item> 95 <Source>pelaajanKuvaSivuVasen.png</Source> 96 <Name>pelaajanKuvaSivuVasen</Name> 97 <Importer>TextureImporter</Importer> 98 <Processor>TextureProcessor</Processor> 99 <Options>None</Options> 100 <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivuVasen.xnb</Output> 101 <Time>2015-07-23T14:40:38.2908257+03:00</Time> 66 102 </Item> 67 103 <BuildSuccessful>true</BuildSuccessful>
Note: See TracChangeset
for help on using the changeset viewer.