cc.RotateBy
startWithTarget:function (target) {
cc.ActionInterval.prototype.startWithTarget.call(this, target);
this._startAngle = target.angle;
//this._deltaAngle *= -1;
},
源码中是否需要注释掉
cc.tween( this.node).repeatForever(cc.rotateBy( speed, 360)).start(); 无法无限旋转
1赞
这句代码在2.3.3上测试是可以的无限旋转的,最好可以给个demo看看。
看了git2.3.3的代码,修复了这个问题;等2.3.3正式发布