Counting lives and keeping score
in
Programming Questions
•
8 months ago
Hello,
I have to make a game for a school project, using Processing. I have come pretty far, but there are a few things that aren't working yet. It's a game where you have to catch the red squares with your pink monster using the mouse. If you catch a square, your score should go up by 1. If a square falls and you haven't caught it, you lose 1 life.
The problem is, when 5 squares hit the ground, the score goes up by 5, that's of course not what i want!
The problem is, when 5 squares hit the ground, the score goes up by 5, that's of course not what i want!
Also sometimes the counting of the lives doesn't function right.
I've added the dropbox file with the three tabs. (in Twitter)
http://db.tt/uKLvwQ65
I've added the dropbox file with the three tabs. (in Twitter)
http://db.tt/uKLvwQ65
I hope anyone could help me!
P.S. Sorry for my bad English, it isn't my first language :)
P.S. Sorry for my bad English, it isn't my first language :)
1