How to let the program start with a loading scene instead of a cocos2d default picture
i am using cocos2d, by default my game will start with the cocos2d D开发者_运维问答efault.png. can i change this to a Loading scene? i have a Loading scene which will show right after the cocos2d Default.png, i want my game start with the loading scene not the Default.png. how can i do that.
i tried to delete Default.png and then i clean all target and rebuild, but there still start with the Default.png. by the way i am using cocos2d 0.99.5Since Default.png must be static image in app bundle and cannot be changed at runtime, I'd suggest you take a screenshot of your initial screen and place it as Default.png.
The Default.png will be loaded by Apple framework code, this has nothing to do with cocos2d and there is no way around this in any app, as this is displayed during initialization of the app. You can keep your pre-LoadingScene code small and do very little calls so it shows up more quickly but other than that there is nothing you can do.
精彩评论