I'm working on my first game, a Breakout clone (gotta start somewhere, right?). The twist is that the goal is not to destroy all the blocks on the screen, but to destroy certain targets. The blocks are just obstacles for the ball. But I figure I should reward the player for destroying all the blocks. But I cant quite figure it out.
I currently have it set like this:
When the block count is less than or equal to 0, I add ten to the score, display a message informing the player of the bonus, then sets that to invisible after 1 second. However, this causes 10 to be added to the score every frame, and I can't think of any other way to do it. help a newbie out please?DillonMakesGames2013-04-09 19:50:15