cocos2d-x v3.2 Loading界面实现资源加载


主要使用函数为:
Director::getInstance()->getTextureCache()->addImageAsync("jiaocheng.png", CC_CALLBACK_1(LoadingScene::loadedCallBack, this));
void LoadingScene::loadedCallBack(cocos2d::Texture2D *texture);

你可能感兴趣的:(cocos2d-x)