setInterval and setTimeOut both call a function in x mili seconds.
But the code keeps running.
Insent there a Sleep function?
well to be more specific I’m making a Sports manager game.
I got the game algoritm all done and it of course runs too quikly making it impossible to follow the game’s text.
I need to slow it down by making pauses between the game actions.
Like:
X passes ball to Y;
PAUSE
Y passes ball to Z;
PAUSE
etc.
can I order Flash: “DON’T YOU keep going on the code until 1000 milisecondes passe.”
(sorry, guess this may be a redundant and boring theme but i cant figure it out):gm: