ho d i make a pause button?
Offline
Well there's no quick way of doing it.
You'd need to make a sprite with Scripts that say when it's clicked, it sends a broadcast to the other sprites or changes a variable that will make them freeze, and then have it do the opposite when it's clicked and the game is already paused.
Offline
Make a variable called "Pause." Remember to have pause set to "0" when you want to start a new game.
when gf clicked set [everything to it's original position v] set [Pause v] to [0]Then use either a sprite or key to set the pause variable:
when [p v] key pressed wait [0.05] secs if <[0] = (Pause)> set [pause v] to [1] broadcast [Pause v] else set [Pause v] to [0] broadcast [Go v]
when I receive [Pause v] stop allFor all your scripts that you want to be paused:
when gf clicked forever if <(Pause) = [1]> Do nothing else Do whatever you want to do
Offline