Sonic style deaths
Posted: Sun Jan 08, 2012 6:17 pm
Ok, in the words of Steve Jobs: one more thing...
I basically want the player in my game to have the same "death system" used in the Sonic the Hedgehog games. For example, the player collects rings scattered throughout the level and I want it so that when the player hits the enemy while not attacking, the ring count is reset to zero. But - the big thing is this: I want the players death event to only take place if the player hits an enemy while the ring count is at zero. How do I do this?
Thanks and whatnot!
I basically want the player in my game to have the same "death system" used in the Sonic the Hedgehog games. For example, the player collects rings scattered throughout the level and I want it so that when the player hits the enemy while not attacking, the ring count is reset to zero. But - the big thing is this: I want the players death event to only take place if the player hits an enemy while the ring count is at zero. How do I do this?
Thanks and whatnot!