我自己对最新的CCArmature包做lua绑定,发现这个接口没有了
原来testCpp的代码没有修改,我没有实际跑testCpp不知是否有错
armature = cocos2d::extension::CCArmature::create(“Dragon”);
armature->getAnimation()->playByIndex(0);
不知道是不是作了修改,如果是,能否更新一下testCpp或者更新一下教程?
谢谢
我自己对最新的CCArmature包做lua绑定,发现这个接口没有了
原来testCpp的代码没有修改,我没有实际跑testCpp不知是否有错
armature = cocos2d::extension::CCArmature::create(“Dragon”);
armature->getAnimation()->playByIndex(0);
不知道是不是作了修改,如果是,能否更新一下testCpp或者更新一下教程?
谢谢
接口 依然 是 getAnimation啊
virtual void setAnimation(CCArmatureAnimation *animation);
virtual CCArmatureAnimation *getAnimation();
— Begin quote from ____
%url%jyinkailej 发表于 2013-7-19 11:37
接口 依然 是 getAnimation啊
virtual void setAnimation(CCArmatureAnimation *animation);
— End quote
你好,我下载的2.14e的包里面的CCArmature确实没有了,难道是下载的包有问题?
里面的 testcpp 的 armature demo 有用到 这个接口,你看看?
刚才 我下载了一遍 在 2.14e 里面 是
CC_SYNTHESIZE_RETAIN(CCArmatureAnimation *, m_pAnimation, Animation);