Tutorial/Example for CocosStudio + Cocos2d-x V3, howto use Custom Class?

I’m trying to figure out how to use CocosStudio with Cocos2d-x v3.

I changed scene Custom Class to MyClass. It looks like MyClass gets created but widgets (buttons,etc…) are not visible. Also, when MyClass init() is executed, CSLoader::createNode(“MyScene.csb”); returns null if Scene has CustomClass. So I have to comment it out to get Scene loaded with Custom Class. It might be the reason that widgets are not visible. But then, how to associate widgets to scene?

With SpriteBuilder+cocos-objc this is dead easy, custom class gets set and childrens can be properties. How this same could be achieved with CocosStudio + cocos2d-x?

1 Like

Wait - what!? How do you even change a scenes class in CocosStudio?