C++ support for Cocos Creator

事例工程编译不过啊,rapidxml_sax3.hpp找不到。

yes, as @zhangxm said.
just get the node by name, and the add the callback manually.

1 Like

:heart: GREAT work!!! @ricardo very impressive, especially how persistent you are!

@ricardo Finally c++ thing inside creator 1.4. very soon I am about to implement. I am excited to work with it my first own game to develop with creator 1.4. Thanks a lot.

I’d be a little wary still. I’m reluctantly using it because some of my team members work better with GUIs than code, but it’s closed source and feels very much like beta quality software still, so if stuff breaks, you’re at the mercy of the Cocos developers and their release cycles, bureaucracy, etc. Scary enough for me not to try my luck betting a production game on it yet.

5 Likes

well, thanks for your info. If this is what happen, its better to try develop project in cocos studio with cocos2dx-3.10 because studio file is possible to import in creator now. still i have 1 month before to start coding for my project, so lets see if any update comes in between.

You can use cocos2d-x 3.14 with cocos studio no problem. You just need to copy cocos studio files from old cocos2d-x 3.10 project.

can you explain how to make it work with 3.14 because i don’t see any libraries of cocos studio in 3.14. that will be great help for me because between 3.10 to 3.14 lots of changes while my target platform is Android for the project.

cocos/editor-support/cocostudio - runtimes are here untouched. The different is with project template, in 3.14 you don’t have cocosstudio directory + ccs/cfg/udf files.

HI @ricardo i built successfully the c++ creator but when i try to create my own scene and complie it, i dont see any ‘myscene.ccreator’ in the resource folder.

Edit: i solved the issues. The reason i used drag and drop texture directly to the scene editor instead of using node library and put texture into it. When compile it, the console log just got some errors while parsing data. Dont know why.

What kind of errors do you see?

Here you are,

First, This occurs when i try to drag a texture to the scene editor as a node/sprite.

Second, the plugin seems not to complie all my scenes created in subfolder. Also, i cannot use textures that included in subfolder causes complying failure.

Third, If i set sprite frame is none, it’d cause error then.

Thanks. I’ll take a look in a week. Currently preparing everything for GDC and next week I’ll be at GDC.

Omg honestly, the plugin have too much bugs to be able to handle all of them…

@Althurzard the plugin just invoke python script automatically for convenient. From the log, it seems the errors happens when converting .fire to .json. Could you please just use the python script to convert the file manually and paste all the error log?

Hi,
How is this going?. Are you still working on it?. What features does it support currently?
Thanks

No commits in the last 29 days :frowning:

@ricardo , @zhangxm
hi all , thanks for the effort on this feature.
can you guys share some info about the progress?
we really need a GUI editor like cocos-studio for cpp for newer versions of cocos2dx and since cocos-studio is EOLed. it would be awesome to have a GUI scene editor.

Thanks.

I will continue @ricardo’s work, and will release an alpha version in forum first. After that, i will continue to fix bugs until it is stable.

@zhangxm Is there a plan for proper C++ support for cocos2dx ? or we have to use exporters all the time even in the future versions of Cocos Creator.