测试代码如下
var ape = new Laya.Sprite();
ape.loadImage("res/star.png");
Laya.stage.addChild(ape);
ape.x = Laya.stage.width / 2;
ape.y = Laya.stage.height / 2;
ape.scale(0.3,0.3);
ape.pivot(628,613);
Laya.Tween.to(ape,{rotation:360},60000);
其中转一圈的时间设置为60s或者更长,native下卡顿是非常明显的,但在web下非常流畅(native下反而效率低?)。游戏帧数为60帧。
这应该是native下的bug,希望官方能看下。