I dont know where to put this topic. I have created runner game with pause button. But the button only work once and second time i click the game still running.
Here is my capx file: drive.google.com/file/d/0ByfQ7Cj5fWazN1YyUmJINF9xTDg/edit
Can somebody take a look. I really need help..
Running your game in debug mode I see that your GameSpeed variable is staying at 0 even after unpaused. (That part isn't exactly broken as the CurrentSpeed is always at 0, and CurrentSpeed is what you're calling for GameSpeed to be in your unpause function). That probably has something to do with your issue.
Develop games in your browser. Powerful, performant & highly capable.
Thank Burvey, I will look into that part.