Best way to make an actor STOP
I'm making an incredibly simple game where you catch falling objects.
I want the objects to stop falling when the player dies. What's the best way to get the objects to stop?
1. Should I use gravity that slowly goes up as the game goes longer and when the player dies turn off gravity?
2. Should I use some type of rule on each actor (When lives = 0 then MOVE at a speed of 0)?
3. Any other ideas?
Thanks everyone!
I want the objects to stop falling when the player dies. What's the best way to get the objects to stop?
1. Should I use gravity that slowly goes up as the game goes longer and when the player dies turn off gravity?
2. Should I use some type of rule on each actor (When lives = 0 then MOVE at a speed of 0)?
3. Any other ideas?
Thanks everyone!
Comments
Hope that helps.
Simply use a move attribute and set the speed to 0.
Lump Apps and My Assets