//CCScene* GameEnd = GameOver::scene();
//CCTransitionScene **transition = CCTransitionFade::create;
nextScene = GameOver::scene;
CCDelayTime**delay = CCDelayTime::create(2.0f);
CCCallFunc callSelectorAction = CCCallFuncN::create);
CCScene GameEnd = GameOver::scene();
CCSequence changeScene = CCSequence::createWithTwoActions;
CCScene GameEnd = static_cast<HelloWorld *>(node)->nextScene;
CCTransitionScene *transition = CCTransitionFade::create(1.0f, GameEnd);
I’m trying to delay the scene transition by a second before it moves to our gameover scene. The problem is, it crashes on the 3rd line of the Next Scene function. Any ideas on how to delay the transition?
Any suggestion would be greatly appreciated.