[Help] cocos creator blank on my device

I’ve tried using cocos creator with cpplua converter and followed exactly like in this link Creator to Cocos2d-x , after build , i copy all classes and resource to my new cocos2dx project. when i play on my real device, i got this blank :

what’s wrong?

@zhangxm can you help me ?

@adesuluh you don’t have to do this by your self, the plugin will do it automatically. Is there any error log when running the plugin?

thanks for reply, log is doing fine, i put the video here link , but im not sure im doing it correctly.

You can not just use the codes in HelloWorldScene::init(), because HelloWorldDelete.cpp uses director->runWithScene(scene); to run the first scene, and your codes uses Director::replaceScene() in HelloWorldScene::init(). You can just return the new scene created from creator in HelloWorld::createScene(), such as

Scene* HelloWorld::createScene()
{
    creator::CreatorReader* reader = creator::CreatorReader::createWithFilename("creator/Room/MainScene.ccreator");
    
    // will create the needed spritesheets + design resolution
    reader->setup();
    
    // get the scene graph
    Scene* scene = reader->getSceneGraph();
    
    return scene;
}

aha, thanks for explanation! much appreciate :slight_smile: