Hi,
I've got a pause Button in my gameplay layer and if this button is touched,
the gameplayscene is replaced by the main menu scene. There is a resume
button in the main menu and if you touch this button the main menu scene will
be replaced with the gameplay scene.
But after replacing the gameplay scene no action is resumes, everything still stopped.
Whats going on here?
- (void)pauseGamePlay {
[self.mainMenuScene prepareForPause];
[[CCDirector sharedDirector] replaceScene:self.mainMenuScene];
}
- (void)resumeGamePlay {
[[CCDirector sharedDirector] replaceScene:self.gameplayScene];
}