pause screen

pause screen
0.0 0


i will work on a game, so please help me, my Problem is want to pause
game play and its pause but animation or action related to pause screen
also pause, its show static manner, please help me to pause game play action and
animation not the pause screen action. thanks


Can you clarify?


thanks for your response. In Game play many action and animation is running
and i will press a button that draw Pause screen on another layer with some action and
my problem is how to stop game play animation without affected the pause screen actions.


I think you have to implement pause/resume feature.
One simple way is emit custom pause/resume event and each listener reacts for that event.
cocos2d-x has a global event dispatcher named CCNotificationCenter.
Take a look if you interested in.