Changeset 6375
- Timestamp:
- 2015-06-25 15:01:01 (8 years ago)
- Location:
- 2015/26/TimoH
- Files:
-
- 345 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/26/TimoH/Dogen_mlg_peli/Dogen_mlg_peli/Dogen_mlg_peli/Dogen_mlg_peli.cs
r6259 r6375 9 9 public class Dogen_mlg_peli : PhysicsGame 10 10 { 11 const double nopeus = 1500;12 const double hyppyNopeus = 5000;11 const double nopeus = 750; 12 const double hyppyNopeus = 1000; 13 13 const int RUUDUN_KOKO = 40; 14 14 … … 41 41 { 42 42 TileMap kentta = TileMap.FromLevelAsset("kentta1"); 43 kentta.SetTileMethod(' #', LisaaTaso);43 kentta.SetTileMethod('o', LisaaTaso); 44 44 kentta.SetTileMethod('*', LisaaTahti); 45 45 kentta.SetTileMethod('N', LisaaPelaaja); … … 74 74 pelaaja1 = new PlatformCharacter(leveys, korkeus); 75 75 pelaaja1.Position = paikka; 76 pelaaja1.Mass = 1 00.0;76 pelaaja1.Mass = 1.0; 77 77 pelaaja1.Image = pelaajanKuva; 78 78 AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); … … 112 112 void TormaaTahteen(PhysicsObject hahmo, PhysicsObject tahti) 113 113 { 114 maaliAani.Play();115 MessageDisplay.Add(" Keräsit weedin snoopille!");114 //maaliAani.Play(); 115 MessageDisplay.Add("sait yhden weed!"); 116 116 tahti.Destroy(); 117 Explosion rajahdus = new Explosion(tahti.Width); 118 //rajahdus.Sound = 119 rajahdus.Position = tahti.Position; 120 Add(rajahdus); 117 121 } 118 122 } -
2015/26/TimoH/Dogen_mlg_peli/Dogen_mlg_peli/Dogen_mlg_peli/obj/x86/Debug/ContentPipeline-{ED25AC30-B3E1-4214-B22C-FBA6950349B1}.xml
r6259 r6375 45 45 <Options>None</Options> 46 46 <Output>C:\MyTemp\TimoH\TimoH\Dogen_mlg_peli\Dogen_mlg_peli\Dogen_mlg_peli\bin\x86\Debug\Content\kentta1.xnb</Output> 47 <Time>2015-06-2 4T14:07:31.2983557+03:00</Time>47 <Time>2015-06-25T14:05:50.0937409+03:00</Time> 48 48 </Item> 49 49 <BuildSuccessful>true</BuildSuccessful> -
2015/26/TimoH/Dogen_mlg_peli/Dogen_mlg_peli/Dogen_mlg_peliContent/kentta1.txt
r6259 r6375 1 .........*......................... 2 .........##........................ 3 ...................##.............. 4 .......*....*...................... 5 .......##..##...................... 6 ...................##.............. 7 .....*...*....*.................... 8 .....##..##..##.................... 9 ....................*.............. 10 ...*....*..*....*..##.............. 11 ...##..##..##..##......##.......... 12 ..............................*.... 13 .*....*.......*...*......*....##.... 14 .##..##..##..##..##....##.......... 15 ................................... 16 ........N.......................... 17 ################################### 1 ooooooooooooooooooooooooooooooooooooooo 2 o.....................................o 3 o.....................................o 4 o.....................................o 5 o.....................................o 6 o.....................................o 7 o.....................................o 8 o.....................................o 9 o.................**..................o 10 o.................oo..................o 11 o.....................................o 12 o.....................................o 13 o.........**.............**...........o 14 o.........oo.............oo...........o 15 o.....................................o 16 o.....................................o 17 o...**...........**.................. o 18 o...oo...........oo...................o 19 o................**..........**.......o 20 o......**........oo..........oo.......o 21 o......oo.............................o 22 o*........**.........**..........**...o 23 ooo........oo.........oo..........oo..o 24 o...**......................**........o 25 o...oo......................oo........o 26 o.............N.......................o 27 ooooooooooooooooooooooooooooooooooooooo
Note: See TracChangeset
for help on using the changeset viewer.