PDA

View Full Version : stop game



fried
February 24th, 2003, 08:36 AM
The game Iam busy with, it keeps score how do I get the game to stop when it reaches a certain score?

Guig0
February 24th, 2003, 08:44 AM
you have to be more specific.

or better: post your fla here.


Cheers :bounce:

fried
February 24th, 2003, 09:07 AM
say when the score reaches 100, I want the game to stop.At the moment it just carries on and on.I don't have the source code with me at the mo, but I use
_root.total = _root.total + 100
to keep the score ticking.

pom
February 24th, 2003, 09:14 AM
You test the score onEnterFrame with an if. Now I don't know what you have to do to stop your game. As guig0 said, you'll have to be more specific. <:}