I’m implementing an ios-like loading screen on android and I do it by showing at the very start a simple CCScene derived object with one sprite inside which in turn contains a full-screen image. Now doesnot matter what I do, I always see only black screen! This drives me crazy - I believe I just miss something trivial .. Can you please look at my code?
This is how scene is constructed:
if( CCScene::init() )
layer = CCLayer::create();
image = CCSprite::createWithSpriteFrameName("Framework::LoadScreen");
And it’s started in applicationDidFinishLaunching() like this:
@ loadScene = CABLoadScene::create();
I’ve alredy checked that image is available, loadable, all objects are created properly. What do I miss?