How to export files from CocosCreator to Cocos2d-x

Hello,
I may have missed something, but I couldn’t figure out how to export the scene from Cocos Creator to Cocos2d-x.
I want to do things with the creator as backgrounds, UI and use them in coconut, but I couldn’t figure out how to export it and how to import it later in my C++ project.
I use:
Creator 2.1.2
Cocos2d-x-3.16
Xcode

Thanks.

Currently, I dont think that exporting from Creator v2.x works. You would need to use Creator v1.9.3 or maybe 1.10.x.

1 Like

Thank you, I’ll try it now.

I’m looking for these options and can’t find them.


I can’t find “LuaCPP Support” in Project.

54

Has anyone done that?
What am I doing wrong?
Here is the resource:

What version of Cocos Creator are you using?

After your recommendation - 1.9.3

You need to copy creator-luacpp-support folder into your packages subfolder. After that you will see the LuaCPP Support menu in Project menu. Note that in 1.9.3 you will need to close and reopen your Cocos Creator project for that to happen. Some later version do load the plugin on the fly, but they don’t seem to work with C++ export as @slackmoehrle has pointed out.

2 Likes