Hi, I tried to use cocostudio. I’m sorry for “stupid” question , but, There is a import function for cocostudio in cocos2d-x?
byz
Hi, I tried to use cocostudio. I’m sorry for “stupid” question , but, There is a import function for cocostudio in cocos2d-x?
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");