The use of CCScene

Recommended for you: Get network issues from WhatsUp Gold. Not end users.
Scene change without effect
CCScene *scene = HelloWorldScene::scene();
CCDirector::shareDirector()->replaceScene(scene);


The sliding switch scene
CCScene *scene = HelloWorldScene::scene();
CCTransitionSlideInL *slide = CCTransitionSlideInL::create(1.0f, scene);
CCDirector::shareDirector()->replaceScene(slide);


Mobile switching scene
CCTransitionMoveInL *slide = CCTransitionMoveInL::create(1.0f, scene);


To fade the scene switching
CCTransitionFadeUp *slide = CCTransitionFadeUp::create(1.0f, scene);


Right on the fade switching scene
CCTransitionFadeTR *slide = CCTransitionFadeTR::create(1.0f, scene);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Gaby at December 04, 2013 - 4:51 PM