After pushing another scene on the stack then popping it off, the original scene does not get update calls, if I used a transition when pushing the other scene on.
Basically this
- (void)update:(CCTime)delta
does not get called for the scene, or any children, if I previously pushed with transition to a different scene before popping it off.
With this code (with no transition) everything works just fine:
CCScene *moreMovesScene = [CCBReader loadAsScene:@"GetMoreMoves"];
[[CCDirector sharedDirector] pushScene:moreMovesScene];
But this code does not work:
CCTransition *transition = [CCTransition transitionPushWithDirection:CCTransitionDirectionDown duration:0.3f];
CCScene *moreMovesScene = [CCBReader loadAsScene:@"GetMoreMoves"];
[[CCDirector sharedDirector] pushScene:moreMovesScene withTransition:transition];
Note that I can pop with transition just fine, it is just pushing another scene with any transition that causes a problem.