00:00
00:00
Newgrounds Background Image Theme

PalmMan just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

AS for pausing a game

793 Views | 3 Replies
New Topic Respond to this Topic

AS for pausing a game 2006-08-13 15:53:08


Is there an action script that just pauses a game... Im not looking for a stop(); action obviously.

If you could share one with me that would be great i couldnt find it in MAIN

Response to AS for pausing a game 2006-08-13 15:57:16


It all depends on how your game works.

No one can tell you exactly how to put a pause button in.

Basically, you want to stop your main game running script from running. Then, if you want it to be a true pause, run a stop() on all of your object MovieClips.

Response to AS for pausing a game 2006-08-13 16:01:30


if you add this on the topp of your codes
if(pause==false){

and you change pause to true when its pauseing..
then your code wont execute when its paused!!

Response to AS for pausing a game 2006-08-13 16:05:29


huh.... well Ill give that a try