Skip to main content
May 8, 2006
Question

Pause

  • May 8, 2006
  • 2 replies
  • 213 views
How can I pause a game???? I made a menu and when I press ESC the menu appeares, but I want to pause the game too!!!!!!!!!!!!!!!!!!!!!!!! How can I do that???
This topic has been closed for replies.

2 replies

Participating Frequently
May 11, 2006
It will depend on how you have the game developed. If everything is based on the playhead moving from frame to frame then you could just do movieClip.stop();

But since you created a game, I'm assuming that this would be too trivial of an answer. Without more info all I can say is that you should create a _root level function that stops all current animations, movieclip playheads, sounds, etc. Depending on the complexity of your game this could be a lot of stuff.

Tim
May 9, 2006
PLZ tell me how can I pause a game!!!!!!!!!!!!!!!!!!!!