
04-25-2010, 02:36 PM
|
Newcomer
|
|
Join Date: Feb 2010
Posts: 2
|
|
Breakout programming problems.
I have written a decent Breakout type game. But I'm having a couple problems. I start the game with 3 lives, and a score of 0. After you die or destroy all of the bricks, it asks you if you want to play again. If you say yes, it resets the lives and the score. But for some reason, the lives start at 0, and then after you lose one, it says 2. The score starts at 0, and then after hitting a brick, it adds that bricks value to the total previous score of the game before. What am I doing wrong? I can post the code if someone wants to look at it.
Thank you very much.
|
|