cocos2d-x 3.0 骨骼动画闪烁问题

我这边重复检查了好几遍了没发现有图片重名,而且又是异步先加载的纹理然后在回调中加载json文件和plist文件,动画还是闪烁。之前试过同步加载 直接异步加载动画,闪烁问题一直存在。希望大家能帮忙给个思路

难道没人能够回答么:6:

资源和代码传上来。

另外testcpp有测试例,可以对比下。

m_AnimationCharacter = Armature::create(“zhujue1”);
m_AnimationCharacter->setAnchorPoint(Point::ZERO);
m_AnimationCharacter->setLocalZOrder(1);
this->addChild(m_AnimationCharacter, 1);

m_AnimationCharacter->getAnimation()->setSpeedScale(1.2f);
m_AnimationCharacter->getAnimation()->play(“run”);

动画加载
Director::getInstance()->getTextureCache()->addImageAsync(“ZhanDouSystem/Hero/zhujue1/zhujue10.png”, CC_CALLBACK_1(LoadingScnen::imageLoadCallback, this, 11));

imageLoadCallback回调方法实现:
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(“ZhanDouSystem/Hero/zhujue1/zhujue10.plist”, texture);
ArmatureDataManager::getInstance()->addArmatureFileInfo(“ZhanDouSystem/Hero/zhujue1/zhujue1.ExportJson”);