Open zhmmmm opened 4 years ago
source have error auto s = spine::SkeletonAnimation::createWithFile("res/Animation/daji/daji.json", "res/Animation/daji/daji.atlas" );
s->setTimeScale(1.0f);
s->setAnimation(0,"attack" , true);
s->setPosition(visibleSize / 2);
this->addChild(s);
//spine::SkeletonAnimation thanks, I hope it can be solved as soon as possible!
Steps to Reproduce:
auto s = spine::SkeletonAnimation::createWithFile("res/Animation/daji/daji.json", "res/Animation/daji/daji.atlas" );
s->setTimeScale(1.0f);
s->setAnimation(0,"attack" , true);
s->setPosition(visibleSize / 2);
this->addChild(s); { skins = Json::getItem(root, "skins"); if (skins) { Json skinMap; skeletonData->_skins.ensureCapacity(skins->_size); skeletonData->_skins.setSize(skins->_size, 0); int skinsIndex = 0; for (skinMap = skins->_child, i = 0; skinMap; skinMap = skinMap->_next, ++i) { Json attachmentsMap; Json *curves;
//error //you attempt }
{}