I am creating simple game for Mac, i got main menu scene with CCMenuItemImages, it works great, when i select play button i replace to play scene:
'CCTransitionFade *transition = [CCTransitionFade transitionWithDuration:2.0 scene:[play scene]];
[[CCDirector sharedDirector] replaceScene:transition];'
In play scene i create some movable sprites, some action methods and so on, nothing special, really. And i have Back button on that scene, when i press on it, i replacescene again to main menu scene. Problem is that, when i pressing button somewhere in Main menu scene i am getting call of Play scene methods, actually i can't see sprites of Play scene, but i can push them and hear sounds and getting method calls. How could it be ? I think it could be something wrong with memory management.. How can i kill all the scene after Replacing it to other one ? Thank you