[RESOLVED]how to reduce the number of lives
Posted: Thu Jan 05, 2012 11:13 am
hi to all,
I hope this is the right section for my topic.
I'm working on "Space Invaders" with some little personalizations like animation, score...but there are few things that I have no idea how to solve.
When the gamer's ship is hit by a enemy shot, the gamer's ship is destroyed, how can I make the ship reappear decreasing the numbers of life? ( for example 3 )
How can I stop the game after that all lives where used with a "game over" message. I tryed to find the solution to this questions, but I was not able to find it.
Thanks to all and sorry for my english.
I hope this is the right section for my topic.
I'm working on "Space Invaders" with some little personalizations like animation, score...but there are few things that I have no idea how to solve.
When the gamer's ship is hit by a enemy shot, the gamer's ship is destroyed, how can I make the ship reappear decreasing the numbers of life? ( for example 3 )
How can I stop the game after that all lives where used with a "game over" message. I tryed to find the solution to this questions, but I was not able to find it.
Thanks to all and sorry for my english.