Car crash!
Hi!
Im working on a game for iOS where a man has to run over a trafficked road. But if he is hit by a car, i want the game to pause, then reset itself.
Thing is, Im stuck.
I've tried two things:
Rule: If actor collides with car - then Reset Game.
I also made a integer, and created the rule:
Rule: If actor collides with car - set integer to 1
Rule: If Integer=1 - Reset Game
In both cases, the actors simply overlaps each other, and keeps going.
Any ideas on what Im doing wrong?
Im working on a game for iOS where a man has to run over a trafficked road. But if he is hit by a car, i want the game to pause, then reset itself.
Thing is, Im stuck.
I've tried two things:
Rule: If actor collides with car - then Reset Game.
I also made a integer, and created the rule:
Rule: If actor collides with car - set integer to 1
Rule: If Integer=1 - Reset Game
In both cases, the actors simply overlaps each other, and keeps going.
Any ideas on what Im doing wrong?
Comments
Also make sure they both on the same "layer style" , meaning both on a scrollable layers , or both on a non-scrollable layers
Roy.
_____________________________________________________________________________
Free GameSalad Help Tutorials & Templates
Gravity Bounce Is On the app store!
Contact
New cover-flow menu template