不知道这个是什么意思
cc.ProgressTimer.cc.Node.extend.setPercentage
cc.ProgressFromTo.cc.ActionInterval.extend.update
cc.ActionInterval.cc.FiniteTimeAction.extend.step
cc.ActionInterval.cc.FiniteTimeAction.extend.step
cc.ActionInterval.cc.FiniteTimeAction.extend.step
cc.ActionInterval.cc.FiniteTimeAction.extend.step
cc.ActionInterval.cc.FiniteTimeAction.extend.step
cc.ActionInterval.cc.FiniteTimeAction.extend.step
cc.ActionInterval.cc.FiniteTimeAction.extend.step
彩笔路过,建议楼主先Google一下:提问的艺术
这是什么情况下出现的?
将一个旋转进度条添加到一个层当中的时候出现的
已谷歌,但还是不知道是什么问题
可以参考下我们的samples里面有使用方法 ProgressActions Test
我就是按照它那样写的
var rot = cc.progressFromTo(8,100);
var cd =e.entityManager.getEntity(“技能冷却”).render.root;
var mProgressTimer = new cc.ProgressTimer(cd);
mProgressTimer.type = cc.ProgressTimer.TYPE_RADIAL;
e.entityManager.layer.addChild(mProgressTimer);
mProgressTimer.x = 400;
mProgressTimer.y = 100;
mProgressTimer.runAction(rot.repeatForever());