[0]设置frame会使打包VIVO Tween动画抖动闪烁
public DoFlash ():void
{
Laya.timer.once(700, this, this.FlashTween);
}
private FlashTween ():void
{
this.hand.scale(2, 2);
this.hand.alpha = 1
Tween.to(this.hand, {scaleX:1, scaleY:1, alpha:1}, 300, null, Laya.Handler.create(this, this.DoFlash));
}
循环Tween 缩放一个图片, 从scale=2 缩小到scale=1
但是在VIVO手机上看到的效果是 缩放值为1.9 1.6 1.8 1.3 1.5 这样抖动
查找后发现是因为 设置了帧率
Laya.stage.frameRate='mouse';
屏蔽此段代码后问题解决
要回复问题请先登录
2 个回复
Laya_z
赞同来自:
178*****223
赞同来自: