How do i switch scenes in cocos2d? I have my main class, \"HellowWorldLayer.h/.m\" , but i can\'t seem to switch scenes correctly. I have tried :
[[CCDirecto
Your code as it is worked for me.
Here is Sample: Download
Use transition for better look.
[[CCDirector sharedDirector] replaceScene:[CCTransitionFade transitionWithDuration:1.0 scene:[Race scene] ]];