i have created a pause button on touch the scene is replaced by the pause menu….
and when we resume the scene comes back…however the function keep calling themselves….
how can i pause every thing in my current file when i switch to another scene…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
“on touch”, the running scene should call:
The pause menu’s “back to game” button should then call:
Pushing the pause menu into place, should “pause” the scene that is currently being pushed back and when you pop it back it should continue running.
Documentation: http://www.cocos2d-iphone.org/api-ref/latest-stable/interface_c_c_director.html