大家中午好,请问一下,cocos studio中做出的帧动画,在程序中怎样改变帧动画的播放频率,比如以前是1秒播放60帧,我现在想1秒就播放120帧,这个应该怎么做?多谢
本来 animation:setDelayPerUnit这个是可以改变频率的,但程序中导入cocos studio的帧动画用的是armature, 这个没有setDelayPerUnit方法
大家中午好,请问一下,cocos studio中做出的帧动画,在程序中怎样改变帧动画的播放频率,比如以前是1秒播放60帧,我现在想1秒就播放120帧,这个应该怎么做?多谢
本来 animation:setDelayPerUnit这个是可以改变频率的,但程序中导入cocos studio的帧动画用的是armature, 这个没有setDelayPerUnit方法
Director::getInstance()->setAnimationInterval(1/60.0f);
这是例子中给出的方法·····
armature2->getAnimation()->setAnimationInternal(1.0f/10.0f);
这个方法不起作用,求解?