网上找的教程都是使用Armature。好像已经过时了。使用下面的怎样换肤?
_anim = CSLoader::createNode(“res/Skeleton.csb”);
auto action = CSLoader::createTimeline(“res/Skeleton.csb”);
手动读取修改动画json文件,换肤。然后loadNodeWithContent。刚刚发现3.9版本居然不支持json文件。。。。。。。。。。
网上找的教程都是使用Armature。好像已经过时了。使用下面的怎样换肤?
_anim = CSLoader::createNode(“res/Skeleton.csb”);
auto action = CSLoader::createTimeline(“res/Skeleton.csb”);
手动读取修改动画json文件,换肤。然后loadNodeWithContent。刚刚发现3.9版本居然不支持json文件。。。。。。。。。。