Hi I'm making a play/pause button.
frame 0 pause, frame 1 play
How do i get the button when i make click go to te frame 1 and pause.
click again goto frame 0 play.
When I make click and makes both actions fast :(.
Develop games in your browser. Powerful, performant & highly capable.
Same thing as in this topic.
You can also use this tutorial's implementation.
Choice is yours <img src="smileys/smiley4.gif" border="0" align="middle">
As long as you do not want to upload to the scirra arcade, then use this plugin - http://www.scirra.com/forum/plugin-pause_topic46693.html
So for example,
PauseButton - onClick
pause - toggle pause
This will pause and unpause the game when clicked