- Timestamp:
- 2012-06-11 15:01:35 (11 years ago)
- Location:
- 2011/24/AkiR/Fight the Rambo/Fight the Rambo
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/24/AkiR/Fight the Rambo/Fight the Rambo/Fight the Rambo/Peli.cs
r2624 r2924 87 87 lisaaPelaaja(); 88 88 89 TileMap kentta = TileMap.FromFile(" TextFile1.txt");89 TileMap kentta = TileMap.FromFile("kentta1.txt"); 90 90 kentta['G'] = lisaaMaali; 91 91 kentta['E'] = lisaaVihollinen; … … 94 94 kentta['S'] = LisaaPiikkilanka; 95 95 kentta['M'] = Lisaamaa; 96 kentta['F'] = LisaaAita; 96 97 kentta.Insert(RUUDUN_KOKO, RUUDUN_KOKO); 97 98 … … 175 176 176 177 pelaaja1.Weapon = new AssaultRifle(50, 20); 178 pelaaja1.Weapon.Ammo.Value = 10; 177 179 pelaaja1.Weapon.ProjectileCollision = AmmusOsui; 178 180 pelaaja1.Weapon.Y = -5; … … 184 186 pelaaja1.LeftWalkingAnimation = new Animation(kavelyOikealle); 185 187 Add(pelaaja1, 1); 186 Add(pelaaja1);187 188 188 189 return pelaaja1; … … 219 220 if (Ammus != null) 220 221 { 221 Ammus.Size *= 4;222 Ammus.Size *= 1; 222 223 Ammus.IgnoresGravity = true; 223 224 Ammus.MaximumLifetime = TimeSpan.FromSeconds(3.1); … … 374 375 PhysicsObject Aita = PhysicsObject.CreateStaticObject(RUUDUN_KOKO, RUUDUN_KOKO); 375 376 Aita.Image = aidankuva; 376 Add(Aita, -2); 377 Aita.IgnoresCollisionResponse = true; 378 //Add(Aita, -2); 377 379 return Aita; 378 380 } -
2011/24/AkiR/Fight the Rambo/Fight the Rambo/Fight the Rambo/TextFile1.txt
r2624 r2924 4 4 5 5 6 7 N6 N 7 8 8 ########################## 9 9 ## -
2011/24/AkiR/Fight the Rambo/Fight the Rambo/Fight the Rambo/kentta1.txt
r2623 r2924 13 13 14 14 MMMMMMMMMMMMMMMMMM M E E 15 16 15 F M M M MMMMMMMMMMMMMMMMMMMMMMMM 16 N M M M M M M M E 17 17 M M M MMMMMMMMMMM 18 NM M M M M M18 M M M M M M 19 19 M M MMMM M MMMMMMMMMMMMMMMM 20 20 MMMMMMMMM M M M M M
Note: See TracChangeset
for help on using the changeset viewer.