Hello,
First, I’m new with Cocos. ![]()
My name is Gil, alias 33cm on this forum.
My goal is to design my UI with Cocos Creator, then dynamically load the designed “nodes” using the C++ cocos2d-x library.
By “UI”, I mean configuration screens: object selection within a list, user profile edition, etc.
I saw “Cocos Studio” creates .csb files that can be loaded using the method:
CSLoader::createNode(“res / MyScene.csb”)
But, on my machine, Cocos Studio crash every time I try to view a scene (–> Cocos Studio OpenGL error - JavaScript - Cocos Forums)
Is there a similar way to dynamically load a scene designed with Cocos Creator?
About performance, I think that dynamically parsing json files is less efficient than loading a csb file, so is there a tool to pack the json and fire files in a csb?
Best regards,
Gil