Hi,
I have three instances of the same sprite in a row, representing how many lives a character has. When a life is lost the sprite instance furthest to the left is destroyed. How do I make them respawn in reverse order when an extra life is gained?
Develop games in your browser. Powerful, performant & highly capable.
Give them an instance variable set to 3, 2 and 1 from left to right. Then say for each object where object.var less than or equal to num lives, set visible (don't destroy just change whether it is visible or not)