骨骼动画,一个欠缺bug

骨骼动画,使用exportJson, ccs制作的骨骼动画格式

当一个exportJson,关联几个plist时,无法处理。

“config_file_path”:
“hero0.plist”,
“hero1.plist”,
“hero2.plist”
],
“config_png_path”:
“hero0.png”,
“hero1.png”,
“hero2.png”
]

美工给到的一个标准的 CCS制作的 武将骨骼动画 系列文件

hero.exportJson,hero0.plist,hero1.plist,hero2.plist,hero0.png,hero1.png,hero2.png

但是现在quick 只支持,一个exportJson,对应一个plist,一个png。

CCS 的 C++ 版可以支持多个?

貌似也不支持,但是cs导出的格式 是这样的。

新的2.2.3 CCArmatureDataManager.tolua 这个 绑定的文件去哪了?

调整一下你CCS的导出规则

有多个plist, 和多个 png的时候,可以调用addArmatureFileInfo(“a.ExportJson”)

CCArmatureDataManager.cpp

void CCArmatureDataManager::addArmatureFileInfo(const char *configFilePath)
{
addRelativeData(configFilePath);

m_bAutoLoadSpriteFile = true;
CCDataReaderHelper::sharedDataReaderHelper()->addDataFromFile(configFilePath);

}