PDA

View Full Version : Frogger Game


im_a_gangster69
05-30-2002, 04:58 PM
What im trying to do is after you get to say 3 points or 3 kills to reset the points and kill totals and start playing the game again.

Im having problems with getting the points and kills to count again after they reset to zero...... im doing this in code.. anyone know how to do this?????
plleaassee hellppp

thanx:)

Chilton
05-30-2002, 06:06 PM
Are you doing something like this?
-Chilton
---

function IncrementScore ()
{
_root.points++;
if (_root.points > 2) {
_root.points = 1;
restartGame();
}
}