Cocos2d How to Switch Scenes
问题 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 : [[CCDirector sharedDirector] replaceScene:[Race node]]; //And [[CCDirector sharedDirector] replaceScene:[Race Scene]]; I put a break point in and i can see it is going to the new scene but the Button i added to the new scene isn't showing up. I am creating the button correctly. Then i am adding it to the screen in the new scene like this: [self