This is my code I don\'t know how to create splash screen and how it will direct in my menu screen. All .h must be connected to BaseScreen and the BaseScreen will be the one
You can make class inherit from CCLayer which start your applications and display your sprite. Then you can override onEnterTransitionDidFinish method:
void SplashScreen::onEnterTransitionDidFinish(){
CCScene * sceneAfterSplashScreen = StartLayer::scene();
CCDirector::sharedDirector()->replaceScene(sceneAfterSplashScreen);
}
When the splash screen arrived to the screen, then it's start to load new scene and replace it.