Read export!

Hi, I tried to use cocostudio. I’m sorry for “stupid” question :stuck_out_tongue: , but, There is a import function for cocostudio in cocos2d-x?
:slight_smile:

byz

Yes, check out the example projects here


warning: some examples may only work for ios right now.

for Scene files
CCSSceneReader::sharedSceneReader()->createNodeWithSceneFile("your_scene.json")

for animation
CCArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("animation.ExportJson");
CCArmature *armature = CCArmature::create("AnimationName");