cocos studio1.6导出的序列帧动画文件有三个:
IndexAnimation.ExportJson、IndexAnimation0.plist、IndexAnimation0.png
用qucik 3.3 如何加载这个动画呢???
cocos studio1.6导出的序列帧动画文件有三个:
IndexAnimation.ExportJson、IndexAnimation0.plist、IndexAnimation0.png
用qucik 3.3 如何加载这个动画呢???
ccs.ArmatureDataManager:getInstance():addArmatureFileInfoAsync(self.filePath, handler(self, self.dataLoaded))
self.armature = ccs.Armature:create(self.id)
self.armature:getAnimation():play(“idle”)
self:addChild(self.armature)
self.armature:setScaleX(-1)