- Timestamp:
- 2015-06-25 15:00:54 (6 years ago)
- Location:
- 2015/26/AtteK
- Files:
-
- 36 added
- 2 deleted
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli.cs
r6340 r6374 18 18 IntMeter kolikkolaskuri = new IntMeter(0); 19 19 20 21 int kenttänumero = 2; 22 20 int tankkeja = 0; 21 int kenttänumero = 1 22 ; 23 Image[] BonusAtt = LoadImages("Bonusvihu", "Bonusvihu2"); 24 Image Burgerikuva = LoadImage("BurgeriBonus"); 25 Image porttikuva1 = LoadImage("portti"); 26 Image porttikuva2 = LoadImage("portti2"); 27 Image tynnyrikuva = LoadImage("Tynnyri"); 28 Image tynnyrikuva2 = LoadImage("Tynnyri2"); 23 29 Image tankkikuva = LoadImage("tankki"); 24 30 Image ammuskuva = LoadImage("Ammus"); … … 41 47 SoundEffect pulloaani = LoadSoundEffect("pullo"); 42 48 SoundEffect punchaani = LoadSoundEffect("punch"); 49 SoundEffect vitutusaani = LoadSoundEffect("huutoo"); 50 SoundEffect splataani = LoadSoundEffect("splat"); 43 51 Image taustakuva = LoadImage("taustsa"); 44 52 53 45 54 public override void Begin() 46 55 { 47 56 SmoothTextures = false; 57 58 MediaPlayer.Play("taustamusa"); 59 MediaPlayer.IsRepeating = true; 60 MediaPlayer.Volume = 0.5; 61 48 62 aloitapeli(); 49 63 } … … 77 91 78 92 void seuraavakenttä() 79 80 93 { 81 94 kenttänumero++; 82 95 aloitapeli(); 96 97 if (kenttänumero == 2) 98 { 99 MediaPlayer.Play("tankkimusa"); 100 } 101 102 if (kenttänumero == 3) 103 { 104 MediaPlayer.Play("bonusmusa"); 105 } 106 107 108 MediaPlayer.IsRepeating = true; 109 MediaPlayer.Volume = 0.5; 83 110 } 84 111 … … 94 121 LuoKentta(); 95 122 LisaaNappaimet(); 96 MediaPlayer.Play("taustamusa"); 97 MediaPlayer.IsRepeating = true; 123 98 124 Camera.Follow(pelaaja1); 99 125 Camera.ZoomFactor = 1.9; … … 107 133 TileMap kentta = TileMap.FromLevelAsset("kentta"+kenttänumero); 108 134 kentta.SetTileMethod('T', LisaaTiili); 135 kentta.SetTileMethod('J', LisaaBonus); 136 kentta.SetTileMethod('Z', LisaaPortti1); 137 kentta.SetTileMethod('X', LisaaPortti2); 109 138 kentta.SetTileMethod('O', LisaaPudotettava); 110 139 kentta.SetTileMethod('L', LisaaLoppu); … … 123 152 Level.Background.Image = taustakuva; 124 153 } 125 154 void LisaaPortti1(Vector paikka, double leveys, double korkeus) 155 { 156 PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys, korkeus); 157 taso.Position = paikka; 158 taso.Color = Color.Green; 159 Add(taso); 160 taso.Image = porttikuva1; 161 taso.Tag = "portti"; 162 } 163 void LisaaPortti2(Vector paikka, double leveys, double korkeus) 164 { 165 PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys, korkeus); 166 taso.Position = paikka; 167 taso.Color = Color.Green; 168 Add(taso); 169 taso.Image = porttikuva2; 170 taso.Tag = "portti"; 171 } 126 172 void LisaaTaso(Vector paikka, double leveys, double korkeus) 127 173 { … … 134 180 void LisaaPudotettava(Vector paikka, double leveys, double korkeus) 135 181 { 136 PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys , korkeus);182 PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys*0.75, korkeus*1); 137 183 taso.Position = paikka; 138 184 taso.Color = Color.Green; 139 185 taso.IgnoresGravity = true; 140 186 Add(taso); 141 taso.Image = donitsikuva;187 taso.Image = tynnyrikuva; 142 188 taso.Tag = "pudotettava"; 143 189 taso.IgnoresCollisionResponse = true; 144 190 AddCollisionHandler(taso, "lyonti", delegate(PhysicsObject pudotettava, PhysicsObject nyrkki) 145 191 { 192 taso.Image = tynnyrikuva2; 146 193 pudotettava.Velocity = new Vector(0, -800); 147 194 Timer.SingleShot(10, delegate { LisaaPudotettava(paikka, leveys, korkeus); }); … … 256 303 Donitsi.Tag = "vihollinen"; 257 304 AddCollisionHandler(Donitsi, "lyonti", osuma); 258 AddCollisionHandler(Donitsi, CollisionHandler.ExplodeObject(100, true));305 AddCollisionHandler(Donitsi, LuoRajahdys); 259 306 Donitsi.CollisionIgnoreGroup = 1; 260 307 } … … 263 310 264 311 } 312 void LuoRajahdys(PhysicsObject Donitsi, PhysicsObject kohde) 313 { 314 Explosion rajahdys = new Explosion(50); 315 rajahdys.Position = Donitsi.Position; 316 rajahdys.Sound = null; 317 Add(rajahdys); 318 Donitsi.Destroy(); 319 320 } 321 void LisaaBonus(Vector paikka, double leveys, double korkeus) 322 { 323 PlatformCharacter Polisi = new PlatformCharacter(leveys, korkeus); 324 Polisi.Position = paikka; 325 Polisi.Image = poliisinkuva; 326 Polisi.CollisionIgnoreGroup = 1; 327 Polisi.Tag = "vihollinen"; 328 Polisi.Animation = new Animation(BonusAtt) { FPS = 10 }; 329 Polisi.Animation.Start(); 330 Add(Polisi); 331 // Polisi.AnimWalk = new Animation(vihukavely); 332 //Polisi.AnimWalk.FPS = 4; 333 334 PlatformWandererBrain tasoAivot = new PlatformWandererBrain(); 335 tasoAivot.Speed = 100; 336 337 FollowerBrain seuraajanAivot = new FollowerBrain(Polisi); 338 seuraajanAivot.Speed = 425; 339 seuraajanAivot.DistanceFar = 300; 340 seuraajanAivot.DistanceClose = 200; 341 seuraajanAivot.StopWhenTargetClose = false; 342 seuraajanAivot.FarBrain = tasoAivot; 343 344 //seuraajanAivot.TargetClose += 345 346 Polisi.Brain = seuraajanAivot; 347 AddCollisionHandler(Polisi, "lyonti", osuma); 348 349 Timer ajastin = new Timer(); 350 ajastin.Interval = 0.1; 351 ajastin.Timeout += delegate 352 { 353 if (!Polisi.IsDestroyed) 354 { 355 //Polisi.PlayAnimation(new Animation(PoliisiAtt) { FPS = 1 }); 356 PhysicsObject Donitsi = new PhysicsObject(17, 17); 357 Donitsi.Image = Burgerikuva; 358 Donitsi.Position = Polisi.Position; 359 Donitsi.Hit((pelaaja1.Position - Polisi.Position).Normalize() * 1500); 360 Add(Donitsi); 361 Donitsi.Shape = Shape.Circle; 362 Donitsi.LifetimeLeft = TimeSpan.FromSeconds(10); 363 Donitsi.Tag = "BONUS"; 364 AddCollisionHandler(Donitsi, "lyonti", osuma); 365 //AddCollisionHandler(Donitsi, CollisionHandler.ExplodeObject(100, false)); 366 //Donitsi.CollisionIgnoreGroup = 1; 367 } 368 }; 369 ajastin.Start(); 370 371 } 265 372 void LisaaTankki(Vector paikka, double leveys, double korkeus) 266 373 { … … 269 376 Tankki.Image = tankkikuva; 270 377 Tankki.CollisionIgnoreGroup = 1; 271 //Tankki.Tag = "vihollinen";378 Tankki.Tag = "Tankki"; 272 379 //Tankki.Animation = new Animation(PoliisiAtt) { FPS = 2 }; 273 380 //Tankki.Animation.Start(); 274 381 Add(Tankki); 275 382 tankkeja++; 276 383 // Polisi.AnimWalk = new Animation(vihukavely); 277 384 //Polisi.AnimWalk.FPS = 4; … … 296 403 { 297 404 Tankki.Destroy(); 405 tankkeja--; 406 if (tankkeja == 0) 407 { 408 foreach (GameObject portti in GetObjectsWithTag("portti")) 409 { 410 portti.Destroy(); 411 } 412 } 298 413 } 299 414 }); … … 306 421 { 307 422 //Polisi.PlayAnimation(new Animation(PoliisiAtt) { FPS = 1 }); 308 PhysicsObject Ammus = new PhysicsObject( 17, 17);423 PhysicsObject Ammus = new PhysicsObject(30, 17); 309 424 Ammus.Image = ammuskuva; 310 425 Ammus.Position = Tankki.Position + new Vector(Tankki.FacingDirection.GetVector().X * 80, 30); 311 426 Ammus.Hit((pelaaja1.Position - Tankki.Position).Normalize() * 1500); 427 Ammus.Angle = (pelaaja1.Position - Tankki.Position).Angle; 312 428 Add(Ammus); 313 429 Ammus.Shape = Shape.Circle; … … 371 487 Keyboard.Listen(Key.Right, ButtonState.Down, Liikuta, "Liikkuu vasemmalle", pelaaja1, 1.0); 372 488 Keyboard.Listen(Key.Up, ButtonState.Pressed, Hyppaa, "Pelaaja hyppää", pelaaja1, hyppyNopeus); 489 Keyboard.Listen(Key.F12, ButtonState.Pressed, seuraavakenttä, ""); 373 490 374 491 ControllerOne.Listen(Button.Back, ButtonState.Pressed, Exit, "Poistu pelistä"); … … 414 531 void TormaaTahteen(PhysicsObject hahmo, PhysicsObject tahti) 415 532 { 416 maaliaani.Play( );533 maaliaani.Play(0.5,0.0,0.0); 417 534 MessageDisplay.Add("LISÄÄ RAHEJA!"); 418 535 tahti.Destroy(); … … 430 547 yrityslaskuri.Value++; 431 548 aloitapeli(); 549 vitutusaani.Play(); 432 550 } 433 551 } -
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli.csproj.Debug.cachefile
r6340 r6374 28 28 Content\tiili.xnb 29 29 Content\Donitsi.xnb 30 Content\Vihollinen 3.xnb31 30 Content\Ammus.xnb 31 Content\Tynnyri.xnb 32 Content\portti.xnb 33 Content\portti2.xnb 34 Content\Tynnyri2.xnb 35 Content\kentta3.xnb 36 Content\bonusvihu2.xnb 37 Content\bonusvihu.xnb 38 Content\Burgeribonus.xnb 39 Content\huutoo.xnb 40 Content\splat.xnb 41 Content\bonusmusa.xnb 42 Content\tankkimusa.xnb 32 43 Content\taustamusa.wma 44 Content\bonusmusa.wma 45 Content\tankkimusa.wma -
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/obj/x86/Debug/ContentPipeline-{0840467A-D5C5-4B5C-922B-328E74B6AF36}.xml
r6340 r6374 9 9 <Options>None</Options> 10 10 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\kentta1.xnb</Output> 11 <Time>2015-06-25T1 1:04:00.8345327+03:00</Time>11 <Time>2015-06-25T13:21:28.4710255+03:00</Time> 12 12 </Item> 13 13 <Item> … … 153 153 <Options>None</Options> 154 154 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\pullo.xnb</Output> 155 <Time>2015-06-2 3T13:54:20.2515553+03:00</Time>155 <Time>2015-06-25T14:31:08.5657121+03:00</Time> 156 156 </Item> 157 157 <Item> … … 172 172 <Options>None</Options> 173 173 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\punch.xnb</Output> 174 <Time>2015-06-2 3T14:46:52.0203553+03:00</Time>174 <Time>2015-06-25T14:40:51.5351416+03:00</Time> 175 175 </Item> 176 176 <Item> … … 244 244 <Options>None</Options> 245 245 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\kentta2.xnb</Output> 246 <Time>2015-06-25T1 1:20:44.3041327+03:00</Time>246 <Time>2015-06-25T13:17:49.7090255+03:00</Time> 247 247 </Item> 248 248 <Item> … … 265 265 </Item> 266 266 <Item> 267 <Source>Vihollinen 3.png</Source>268 <Name>Vihollinen 3</Name>269 <Importer>TextureImporter</Importer>270 <Processor>TextureProcessor</Processor>271 <Options>None</Options>272 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Vihollinen 3.xnb</Output>273 <Time>2015-06-25T11:05:35.2219327+03:00</Time>274 </Item>275 <Item>276 267 <Source>Ammus.png</Source> 277 268 <Name>Ammus</Name> … … 280 271 <Options>None</Options> 281 272 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Ammus.xnb</Output> 282 <Time>2015-06-25T11:11:55.0541327+03:00</Time> 273 <Time>2015-06-25T14:55:36.6571666+03:00</Time> 274 </Item> 275 <Item> 276 <Source>Tynnyri.png</Source> 277 <Name>Tynnyri</Name> 278 <Importer>TextureImporter</Importer> 279 <Processor>TextureProcessor</Processor> 280 <Options>None</Options> 281 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Tynnyri.xnb</Output> 282 <Time>2015-06-25T12:43:25.8615255+03:00</Time> 283 </Item> 284 <Item> 285 <Source>portti.png</Source> 286 <Name>portti</Name> 287 <Importer>TextureImporter</Importer> 288 <Processor>TextureProcessor</Processor> 289 <Options>None</Options> 290 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\portti.xnb</Output> 291 <Time>2015-06-25T13:01:36.3106255+03:00</Time> 292 </Item> 293 <Item> 294 <Source>portti2.png</Source> 295 <Name>portti2</Name> 296 <Importer>TextureImporter</Importer> 297 <Processor>TextureProcessor</Processor> 298 <Options>None</Options> 299 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\portti2.xnb</Output> 300 <Time>2015-06-25T12:53:14.8325255+03:00</Time> 301 </Item> 302 <Item> 303 <Source>Tynnyri2.png</Source> 304 <Name>Tynnyri2</Name> 305 <Importer>TextureImporter</Importer> 306 <Processor>TextureProcessor</Processor> 307 <Options>None</Options> 308 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Tynnyri2.xnb</Output> 309 <Time>2015-06-25T13:13:10.5624255+03:00</Time> 310 </Item> 311 <Item> 312 <Source>kentta3.txt</Source> 313 <Name>kentta3</Name> 314 <Importer>TextFileImporter</Importer> 315 <Processor>TextFileContentProcessor</Processor> 316 <Options>None</Options> 317 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\kentta3.xnb</Output> 318 <Time>2015-06-25T14:59:52.3873666+03:00</Time> 319 </Item> 320 <Item> 321 <Source>bonusvihu2.png</Source> 322 <Name>bonusvihu2</Name> 323 <Importer>TextureImporter</Importer> 324 <Processor>TextureProcessor</Processor> 325 <Options>None</Options> 326 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusvihu2.xnb</Output> 327 <Time>2015-06-25T14:11:12.2204255+03:00</Time> 328 </Item> 329 <Item> 330 <Source>bonusvihu.png</Source> 331 <Name>bonusvihu</Name> 332 <Importer>TextureImporter</Importer> 333 <Processor>TextureProcessor</Processor> 334 <Options>None</Options> 335 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusvihu.xnb</Output> 336 <Time>2015-06-25T14:10:07.4620255+03:00</Time> 337 </Item> 338 <Item> 339 <Source>Burgeribonus.png</Source> 340 <Name>Burgeribonus</Name> 341 <Importer>TextureImporter</Importer> 342 <Processor>TextureProcessor</Processor> 343 <Options>None</Options> 344 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Burgeribonus.xnb</Output> 345 <Time>2015-06-25T13:44:40.6362255+03:00</Time> 346 </Item> 347 <Item> 348 <Source>huutoo.wav</Source> 349 <Name>huutoo</Name> 350 <Importer>WavImporter</Importer> 351 <Processor>SoundEffectProcessor</Processor> 352 <Options>None</Options> 353 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\huutoo.xnb</Output> 354 <Time>2015-06-25T14:27:37.9777235+03:00</Time> 355 </Item> 356 <Item> 357 <Source>splat.wav</Source> 358 <Name>splat</Name> 359 <Importer>WavImporter</Importer> 360 <Processor>SoundEffectProcessor</Processor> 361 <Options>None</Options> 362 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\splat.xnb</Output> 363 <Time>2015-06-25T14:41:53.0960459+03:00</Time> 364 </Item> 365 <Item> 366 <Source>bonusmusa.mp3</Source> 367 <Name>bonusmusa</Name> 368 <Importer>Mp3Importer</Importer> 369 <Processor>SongProcessor</Processor> 370 <Options>None</Options> 371 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusmusa.xnb</Output> 372 <Extra>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusmusa.wma</Extra> 373 <Time>2015-06-25T14:46:17.4303275+03:00</Time> 374 </Item> 375 <Item> 376 <Source>tankkimusa.mp3</Source> 377 <Name>tankkimusa</Name> 378 <Importer>Mp3Importer</Importer> 379 <Processor>SongProcessor</Processor> 380 <Options>None</Options> 381 <Output>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\tankkimusa.xnb</Output> 382 <Extra>C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\tankkimusa.wma</Extra> 383 <Time>2015-06-25T14:46:38.9004743+03:00</Time> 283 384 </Item> 284 385 <BuildSuccessful>true</BuildSuccessful> -
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/obj/x86/Debug/Tasohyppelypeli.csproj.FileListAbsolute.txt
r6340 r6374 37 37 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\tiili.xnb 38 38 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Donitsi.xnb 39 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Vihollinen 3.xnb40 39 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Ammus.xnb 40 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Tynnyri.xnb 41 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\portti.xnb 42 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\portti2.xnb 43 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Tynnyri2.xnb 44 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\kentta3.xnb 45 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusvihu2.xnb 46 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusvihu.xnb 47 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\Burgeribonus.xnb 48 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\huutoo.xnb 49 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\splat.xnb 50 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusmusa.xnb 51 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\tankkimusa.xnb 52 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\bonusmusa.wma 53 C:\MyTemp\AtteK\Tasohyppelypeli\Tasohyppelypeli\Tasohyppelypeli\bin\x86\Debug\Content\tankkimusa.wma -
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/obj/x86/Debug/cachefile-{0840467A-D5C5-4B5C-922B-328E74B6AF36}-targetpath.txt
r6340 r6374 29 29 Content\tiili.xnb 30 30 Content\Donitsi.xnb 31 Content\Vihollinen 3.xnb32 31 Content\Ammus.xnb 32 Content\Tynnyri.xnb 33 Content\portti.xnb 34 Content\portti2.xnb 35 Content\Tynnyri2.xnb 36 Content\kentta3.xnb 37 Content\bonusvihu2.xnb 38 Content\bonusvihu.xnb 39 Content\Burgeribonus.xnb 40 Content\huutoo.xnb 41 Content\splat.xnb 42 Content\bonusmusa.xnb 43 Content\bonusmusa.wma 44 Content\tankkimusa.xnb 45 Content\tankkimusa.wma -
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/TasohyppelypeliContent/TasohyppelypeliContent.contentproj
r6340 r6374 237 237 </ItemGroup> 238 238 <ItemGroup> 239 <Compile Include=" Vihollinen 3.png">240 <Name> Vihollinen 3</Name>239 <Compile Include="bonusvihu2.png"> 240 <Name>bonusvihu2</Name> 241 241 <Importer>TextureImporter</Importer> 242 242 <Processor>TextureProcessor</Processor> … … 248 248 <Importer>TextureImporter</Importer> 249 249 <Processor>TextureProcessor</Processor> 250 </Compile> 251 </ItemGroup> 252 <ItemGroup> 253 <Compile Include="Tynnyri.png"> 254 <Name>Tynnyri</Name> 255 <Importer>TextureImporter</Importer> 256 <Processor>TextureProcessor</Processor> 257 </Compile> 258 </ItemGroup> 259 <ItemGroup> 260 <Compile Include="portti.png"> 261 <Name>portti</Name> 262 <Importer>TextureImporter</Importer> 263 <Processor>TextureProcessor</Processor> 264 </Compile> 265 <Compile Include="portti2.png"> 266 <Name>portti2</Name> 267 <Importer>TextureImporter</Importer> 268 <Processor>TextureProcessor</Processor> 269 </Compile> 270 </ItemGroup> 271 <ItemGroup> 272 <Compile Include="Tynnyri2.png"> 273 <Name>Tynnyri2</Name> 274 <Importer>TextureImporter</Importer> 275 <Processor>TextureProcessor</Processor> 276 </Compile> 277 </ItemGroup> 278 <ItemGroup> 279 <Compile Include="kentta3.txt"> 280 <Name>kentta3</Name> 281 <Importer>TextFileImporter</Importer> 282 <Processor>TextFileContentProcessor</Processor> 283 </Compile> 284 </ItemGroup> 285 <ItemGroup> 286 <Compile Include="bonusvihu.png"> 287 <Name>bonusvihu</Name> 288 <Importer>TextureImporter</Importer> 289 <Processor>TextureProcessor</Processor> 290 </Compile> 291 </ItemGroup> 292 <ItemGroup> 293 <Compile Include="Burgeribonus.png"> 294 <Name>Burgeribonus</Name> 295 <Importer>TextureImporter</Importer> 296 <Processor>TextureProcessor</Processor> 297 </Compile> 298 </ItemGroup> 299 <ItemGroup> 300 <Compile Include="huutoo.wav"> 301 <Name>huutoo</Name> 302 <Importer>WavImporter</Importer> 303 <Processor>SoundEffectProcessor</Processor> 304 </Compile> 305 </ItemGroup> 306 <ItemGroup> 307 <Compile Include="splat.wav"> 308 <Name>splat</Name> 309 <Importer>WavImporter</Importer> 310 <Processor>SoundEffectProcessor</Processor> 311 </Compile> 312 </ItemGroup> 313 <ItemGroup> 314 <Compile Include="bonusmusa.mp3"> 315 <Name>bonusmusa</Name> 316 <Importer>Mp3Importer</Importer> 317 <Processor>SongProcessor</Processor> 318 </Compile> 319 </ItemGroup> 320 <ItemGroup> 321 <Compile Include="tankkimusa.mp3"> 322 <Name>tankkimusa</Name> 323 <Importer>Mp3Importer</Importer> 324 <Processor>SongProcessor</Processor> 250 325 </Compile> 251 326 </ItemGroup> -
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/TasohyppelypeliContent/kentta1.txt
r6340 r6374 4 4 ....................................TTTTTTTTTTTTTT...TTTT............................ 5 5 ....................................T...................T........##.................. 6 ..................O.................T .....V.............T............................7 .................###................T ..*****......TTT..*T............................6 ..................O.................TO....V.............T............................ 7 .................###................TOO*****......TTT..*T............................ 8 8 ...........*.............*..........TTTTTTTT....TTTTTTTTT............................... 9 9 ...........O.............O.............................*T................................ 10 10 ..........###...........###.............................T........*.................... 11 11 ....................................T........TT........TT.......###.............P..... 12 .....N..............................TTTT.V..TTTT. ....VTTT......#####..............L..12 .....N..............................TTTT.V..TTTT.OOO.VTTT......#####..............L.. 13 13 ####################################TTTTTTTTTTTTTTTTTTTTT################################ -
2015/26/AtteK/Tasohyppelypeli/Tasohyppelypeli/TasohyppelypeliContent/kentta2.txt
r6340 r6374 2 2 ..........................................................................T 3 3 ..........................................................................T 4 .................... O.....O.....O..........O..........O..........O........T5 .................... T....TT....TT.........TT.........TT.........TT........T6 .......................T..... T.....T....T.....T....T.....T....T.....T.....T4 ...........................O.....O.....O....O....O....O....O....O.........T 5 ...........................T.....T.....T....T....T....T....T....T.........T 6 .......................T.............................................T....T 7 7 ..........................................................................T 8 .................T ........................................................T9 ................TTT...................................................... .T10 ..............TTTTT....................................................... T11 ......N......TTT TTT.......S......................S........................T L L LL12 ########################################################################################## #######8 .................TT.......................................................T 9 ................TTT......................................................TT 10 ..............TTTTT.......................................................X 11 ......N......TTT***......S.......................S....................S...Z L 12 ##########################################################################################
Note: See TracChangeset
for help on using the changeset viewer.