Flash MX - AS2.0
I'm cresting this game, but I'm trying to figure out how to create a pause where you csn still resume the game where you left off...
What's the code?
Where do you put it?
What do you do?
Printable View
Flash MX - AS2.0
I'm cresting this game, but I'm trying to figure out how to create a pause where you csn still resume the game where you left off...
What's the code?
Where do you put it?
What do you do?
make a variable say:
var pause:Boolean = false;
When you click the button make pause=true.
if(pause){
//your whole game engine
}
just make everything happen only when pause is true