用cocos2d-x标准版的动作CCAnimation很方便将动画转动作, 然后精灵执行即可。
可是用cocoStudio的动作编辑器, 画的时候特别方便, 但是参考http://www.ityran.com/archives/4386 只能通过Armature来获取动画ArmatureAnimation? 请问该动画如何转化为动作?
用cocos2d-x标准版的动作CCAnimation很方便将动画转动作, 然后精灵执行即可。
可是用cocoStudio的动作编辑器, 画的时候特别方便, 但是参考http://www.ityran.com/archives/4386 只能通过Armature来获取动画ArmatureAnimation? 请问该动画如何转化为动作?
你好,动画是动画,动作是动作。你想播放动画请使用Armature->getanimation()->playbyindex()或者playbyname().
如果你想让骨骼动画移动,请使用runaction(action)也就是原生的Action类。