Changeset 6912
- Timestamp:
- 2015-07-22 12:39:25 (8 years ago)
- Location:
- 2015/30/ArttuH/TasoHyppely
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/TasoHyppely.cs
r6903 r6912 31 31 public override void Begin() 32 32 { 33 Gravity = new Vector(0, -1 000);33 Gravity = new Vector(0, -1500); 34 34 Paavalikko(); 35 35 //LuoKentta(); … … 245 245 ammus.Size *= 0.8; 246 246 ammus.Image = luoti; 247 ControllerTwo.Vibrate(100 000000000.16, 100000000000.16, 0.16, 0.16, 1.1);247 ControllerTwo.Vibrate(100.16, 100.16, 0.16, 0.16, 0.1); 248 248 ammus.MaximumLifetime = TimeSpan.FromSeconds(0.6); 249 249 } … … 296 296 luotilaskuri.Value = 100; 297 297 } 298 298 void Ammusotettu2(PhysicsObject hahmo, PhysicsObject kohde) 299 { 300 kohde.Destroy(); 301 PlatformCharacter pelaaja2 = hahmo as PlatformCharacter; 302 pelaaja2.Weapon.Ammo.Value = 100; 303 luotilaskuri2.Value = 100; 304 } 299 305 300 306 }
Note: See TracChangeset
for help on using the changeset viewer.