I am looking at the various transitions between CCScenes
using Spritebuilder
. Currently I can do a fade transition using
CCScene *gameplayScene = [CCBReader loadAsScene:@"kitchen"];
CCTransition *crossFade = [CCTransition transitionCrossFadeWithDuration:0.6];
[[CCDirector sharedDirector] replaceScene:gameplayScene withTransition:crossFade];
However standard transitions using Cocos2d do not seem to work with SpriteBuilder (or I am missing something!)
I looked at This Website tutorial which provided the code below. However it I cannot get it working with Spritebuilder
[[CCDirector sharedDirector] replaceScene:[CCTransitionCrossFade transitionWithDuration:0.5f scene:[NewScene scene]]];
no known class...
– Allreadyhome