Changeset 5004 for 2014/24/UrhoP/pallopeli1/pallopeli1
- Timestamp:
- 2014-06-13 10:30:24 (7 years ago)
- Location:
- 2014/24/UrhoP/pallopeli1/pallopeli1
- Files:
-
- 7 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/bin/x86/Debug/pallopeli1.application
r4977 r5004 9 9 </compatibleFrameworks> 10 10 <dependency> 11 <dependentAssembly dependencyType="install" codebase="pallopeli1.exe.manifest" size="1 0969">11 <dependentAssembly dependencyType="install" codebase="pallopeli1.exe.manifest" size="12500"> 12 12 <assemblyIdentity name="pallopeli1.exe" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> 13 13 <hash> … … 16 16 </dsig:Transforms> 17 17 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 18 <dsig:DigestValue>9 W9DuUWyLatZ2TrbSuxcwKLC5tA=</dsig:DigestValue>18 <dsig:DigestValue>9RmH+dCcRR4VUslDmCjHt7PGIn4=</dsig:DigestValue> 19 19 </hash> 20 20 </dependentAssembly> -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/bin/x86/Debug/pallopeli1.exe.manifest
r4977 r5004 106 106 </dependency> 107 107 <dependency> 108 <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="pallopeli1.exe" size="1 7920">108 <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="pallopeli1.exe" size="18432"> 109 109 <assemblyIdentity name="pallopeli1" version="1.0.0.0" language="neutral" processorArchitecture="x86" /> 110 110 <hash> … … 113 113 </dsig:Transforms> 114 114 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 115 <dsig:DigestValue> Pd4Uxpg1oecjIxesrRTySk/jjFI=</dsig:DigestValue>115 <dsig:DigestValue>AFvDL4KDiUTacTU3g+ySUI4POb0=</dsig:DigestValue> 116 116 </hash> 117 117 </dependentAssembly> … … 162 162 </hash> 163 163 </file> 164 <file name="Content\kentta6.xnb" size="1069"> 165 <hash> 166 <dsig:Transforms> 167 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 168 </dsig:Transforms> 169 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 170 <dsig:DigestValue>+yMTu5mxWz8OGWM+yb6fQE75HQA=</dsig:DigestValue> 171 </hash> 172 </file> 173 <file name="Content\kentta7.xnb" size="1404"> 174 <hash> 175 <dsig:Transforms> 176 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 177 </dsig:Transforms> 178 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 179 <dsig:DigestValue>4volf0CaZF4tAoP6+GlcTfn/S5k=</dsig:DigestValue> 180 </hash> 181 </file> 164 182 <file name="Content\pallo.xnb" size="40187"> 165 183 <hash> … … 180 198 </hash> 181 199 </file> 200 <file name="Content\PeliMusiikki1.wma" size="16406657"> 201 <hash> 202 <dsig:Transforms> 203 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 204 </dsig:Transforms> 205 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 206 <dsig:DigestValue>+IcSQt+dOkPiRifPchxwL7Ds4cU=</dsig:DigestValue> 207 </hash> 208 </file> 209 <file name="Content\PeliMusiikki1.xnb" size="131"> 210 <hash> 211 <dsig:Transforms> 212 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 213 </dsig:Transforms> 214 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 215 <dsig:DigestValue>TkId7Zo99Bw2BqOJYjPQfsS0Wgc=</dsig:DigestValue> 216 </hash> 217 </file> 182 218 <file name="Content\piikki1.xnb" size="90187"> 183 219 <hash> -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/obj/x86/Debug/ContentPipeline-{3237CB57-B566-4AD5-BB38-E5ACFB175DCC}.xml
r4975 r5004 83 83 <Time>2014-06-12T14:27:26.3243259+03:00</Time> 84 84 </Item> 85 <Item> 86 <Source>PeliMusiikki1.mp3</Source> 87 <Name>PeliMusiikki1</Name> 88 <Importer>Mp3Importer</Importer> 89 <Processor>SongProcessor</Processor> 90 <Options>None</Options> 91 <Output>C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\PeliMusiikki1.xnb</Output> 92 <Extra>C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\PeliMusiikki1.wma</Extra> 93 <Time>2014-06-13T09:36:49.496931+03:00</Time> 94 </Item> 95 <Item> 96 <Source>kentta6.txt</Source> 97 <Name>kentta6</Name> 98 <Importer>TextFileImporter</Importer> 99 <Processor>TextFileContentProcessor</Processor> 100 <Options>None</Options> 101 <Output>C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\kentta6.xnb</Output> 102 <Time>2014-06-13T09:52:05.2274949+03:00</Time> 103 </Item> 104 <Item> 105 <Source>kentta7.txt</Source> 106 <Name>kentta7</Name> 107 <Importer>TextFileImporter</Importer> 108 <Processor>TextFileContentProcessor</Processor> 109 <Options>None</Options> 110 <Output>C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\kentta7.xnb</Output> 111 <Time>2014-06-13T10:04:32.5102157+03:00</Time> 112 </Item> 85 113 <BuildSuccessful>true</BuildSuccessful> 86 114 <Settings> -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/obj/x86/Debug/cachefile-{3237CB57-B566-4AD5-BB38-E5ACFB175DCC}-targetpath.txt
r4975 r5004 8 8 Content\kentta4.xnb 9 9 Content\kentta5.xnb 10 Content\PeliMusiikki1.xnb 11 Content\PeliMusiikki1.wma 12 Content\kentta6.xnb 13 Content\kentta7.xnb -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/obj/x86/Debug/pallopeli1.application
r4977 r5004 9 9 </compatibleFrameworks> 10 10 <dependency> 11 <dependentAssembly dependencyType="install" codebase="pallopeli1.exe.manifest" size="1 0969">11 <dependentAssembly dependencyType="install" codebase="pallopeli1.exe.manifest" size="12500"> 12 12 <assemblyIdentity name="pallopeli1.exe" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> 13 13 <hash> … … 16 16 </dsig:Transforms> 17 17 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 18 <dsig:DigestValue>9 W9DuUWyLatZ2TrbSuxcwKLC5tA=</dsig:DigestValue>18 <dsig:DigestValue>9RmH+dCcRR4VUslDmCjHt7PGIn4=</dsig:DigestValue> 19 19 </hash> 20 20 </dependentAssembly> -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/obj/x86/Debug/pallopeli1.csproj.FileListAbsolute.txt
r4977 r5004 20 20 C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\obj\x86\Debug\pallopeli1.exe.manifest 21 21 C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\obj\x86\Debug\pallopeli1.application 22 C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\PeliMusiikki1.xnb 23 C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\PeliMusiikki1.wma 24 C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\kentta6.xnb 25 C:\MyTemp\UrhoP\pallopeli1\pallopeli1\pallopeli1\bin\x86\Debug\Content\kentta7.xnb -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/obj/x86/Debug/pallopeli1.exe.manifest
r4977 r5004 106 106 </dependency> 107 107 <dependency> 108 <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="pallopeli1.exe" size="1 7920">108 <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="pallopeli1.exe" size="18432"> 109 109 <assemblyIdentity name="pallopeli1" version="1.0.0.0" language="neutral" processorArchitecture="x86" /> 110 110 <hash> … … 113 113 </dsig:Transforms> 114 114 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 115 <dsig:DigestValue> Pd4Uxpg1oecjIxesrRTySk/jjFI=</dsig:DigestValue>115 <dsig:DigestValue>AFvDL4KDiUTacTU3g+ySUI4POb0=</dsig:DigestValue> 116 116 </hash> 117 117 </dependentAssembly> … … 162 162 </hash> 163 163 </file> 164 <file name="Content\kentta6.xnb" size="1069"> 165 <hash> 166 <dsig:Transforms> 167 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 168 </dsig:Transforms> 169 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 170 <dsig:DigestValue>+yMTu5mxWz8OGWM+yb6fQE75HQA=</dsig:DigestValue> 171 </hash> 172 </file> 173 <file name="Content\kentta7.xnb" size="1404"> 174 <hash> 175 <dsig:Transforms> 176 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 177 </dsig:Transforms> 178 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 179 <dsig:DigestValue>4volf0CaZF4tAoP6+GlcTfn/S5k=</dsig:DigestValue> 180 </hash> 181 </file> 164 182 <file name="Content\pallo.xnb" size="40187"> 165 183 <hash> … … 180 198 </hash> 181 199 </file> 200 <file name="Content\PeliMusiikki1.wma" size="16406657"> 201 <hash> 202 <dsig:Transforms> 203 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 204 </dsig:Transforms> 205 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 206 <dsig:DigestValue>+IcSQt+dOkPiRifPchxwL7Ds4cU=</dsig:DigestValue> 207 </hash> 208 </file> 209 <file name="Content\PeliMusiikki1.xnb" size="131"> 210 <hash> 211 <dsig:Transforms> 212 <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 213 </dsig:Transforms> 214 <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 215 <dsig:DigestValue>TkId7Zo99Bw2BqOJYjPQfsS0Wgc=</dsig:DigestValue> 216 </hash> 217 </file> 182 218 <file name="Content\piikki1.xnb" size="90187"> 183 219 <hash> -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/pallopeli1.cs
r4977 r5004 32 32 ClearAll(); 33 33 34 musiikki(); 35 34 36 MultiSelectWindow alkuValikko = new MultiSelectWindow("Pelin alkuvalikko", "Aloita peli A ", "Lopeta B"); 35 37 Add(alkuValikko); 36 38 37 38 39 40 39 41 40 42 alkuValikko.AddItemHandler(0, SeuraavaKentta); … … 76 78 eipause(); 77 79 Gravity = new Vector(0, -1000); 80 MessageDisplay.Add("Kerää kaikki 12 Tähteä"); 81 MessageDisplay.Add("Aikaa 40 sekunttia"); 78 82 79 83 if (kenttaNro == 1) LuoKentta(); … … 82 86 else if (kenttaNro == 4) LuoKentta4(); 83 87 else if (kenttaNro == 5) LuoKentta5(); 84 else if (kenttaNro > 5) Voitto(); 88 else if (kenttaNro == 6) LuoKentta7(); 89 else if (kenttaNro == 7) LuoKentta6(); 90 else if (kenttaNro > 7) Voitto(); 85 91 86 92 IsMouseVisible = false; … … 91 97 LuoPistelaskuri(); 92 98 LuoPistelaskuri(); 99 100 93 101 94 102 } … … 204 212 } 205 213 214 215 void LuoKentta6() 216 { 217 218 LuoAikaLaskuri(); 219 220 TileMap kentta6 = TileMap.FromLevelAsset("kentta6"); 221 kentta6.SetTileMethod('#', LisaaTaso); 222 kentta6.SetTileMethod('W', Lisaapiikki); 223 kentta6.SetTileMethod('*', LisaaTahti); 224 kentta6.SetTileMethod('P', LisaaPelaaja1); 225 kentta6.SetTileMethod('p', LisaaPelaaja2); 226 kentta6.SetTileMethod('S', LisaaPelaaja3); 227 kentta6.SetTileMethod('0', LisaaPelaaja4); 228 kentta6.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 229 Level.CreateBorders(); 230 Level.Background.CreateGradient(Color.MediumBlue, Color.MediumBlue); 231 } 232 233 void LuoKentta7() 234 { 235 236 LuoAikaLaskuri(); 237 238 TileMap kentta7 = TileMap.FromLevelAsset("kentta7"); 239 kentta7.SetTileMethod('#', LisaaTaso); 240 kentta7.SetTileMethod('W', Lisaapiikki); 241 kentta7.SetTileMethod('*', LisaaTahti); 242 kentta7.SetTileMethod('P', LisaaPelaaja1); 243 kentta7.SetTileMethod('p', LisaaPelaaja2); 244 kentta7.SetTileMethod('S', LisaaPelaaja3); 245 kentta7.SetTileMethod('0', LisaaPelaaja4); 246 kentta7.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 247 Level.CreateBorders(); 248 Level.Background.CreateGradient(Color.MediumBlue, Color.MediumBlue); 249 } 206 250 207 251 … … 379 423 { 380 424 381 425 MessageDisplay.Add("Ruotsalainen Tuhottu"); 382 426 pelaaja2.Destroy(); 383 427 … … 389 433 { 390 434 391 435 MessageDisplay.Add("Ruotsalainen Tuhottu"); 392 436 pelaaja3.Destroy(); 393 437 … … 483 527 } 484 528 529 void musiikki() 530 { 531 MediaPlayer.Play("PeliMusiikki1"); 532 MediaPlayer.IsRepeating = true; 533 } 485 534 486 535 } -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1/pallopeli1.csproj.Debug.cachefile
r4975 r5004 8 8 Content\kentta4.xnb 9 9 Content\kentta5.xnb 10 Content\PeliMusiikki1.xnb 11 Content\kentta6.xnb 12 Content\kentta7.xnb 13 Content\PeliMusiikki1.wma -
2014/24/UrhoP/pallopeli1/pallopeli1/pallopeli1Content/pallopeli1Content.contentproj
r4975 r5004 106 106 </Compile> 107 107 </ItemGroup> 108 <ItemGroup> 109 <Compile Include="PeliMusiikki1.mp3"> 110 <Name>PeliMusiikki1</Name> 111 <Importer>Mp3Importer</Importer> 112 <Processor>SongProcessor</Processor> 113 </Compile> 114 </ItemGroup> 115 <ItemGroup> 116 <Compile Include="kentta6.txt"> 117 <Name>kentta6</Name> 118 <Importer>TextFileImporter</Importer> 119 <Processor>TextFileContentProcessor</Processor> 120 </Compile> 121 </ItemGroup> 122 <ItemGroup> 123 <Compile Include="kentta7.txt"> 124 <Name>kentta7</Name> 125 <Importer>TextFileImporter</Importer> 126 <Processor>TextFileContentProcessor</Processor> 127 </Compile> 128 </ItemGroup> 108 129 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 109 130 <!-- 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.