How to keep SKActions running through an SKTransition in Sprite Kit?
问题 I have tried the following code when trying to transition between scenes in my Sprite Kit project: - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ XYZGameScene *gameScene = [[XYZGameScene alloc] initWithSize:CGSizeMake(self.size.width, self.size.height)]; crossFade = [SKTransition fadeWithColor:[UIColor blackColor] duration:2]; [playButtonSprite runAction:changePlayButtonTextureOFF]; if(toGameAction){ [self.scene.view presentScene:gameScene transition:crossFade]; }else{} }