使用TweenMax(AS3)补间大精灵

时间:2015-02-11 23:16:50

标签: performance actionscript-3 tweenmax

我尝试使用Greensock的TweenMax将Sprite的alpha补间为1。 cacheAsBitmap已设置为 true 。精灵在800x600时淡出(虽然你已经可以告诉它开始滞后),但是当我将Sprite的尺寸设置为1440x1080时,补间明显更加陡峭。

当我尝试补间时,帧速率从一致的24下降到11.1,并且CPU使用率从~6%跃升到164%。

DisplayList在补间之前,期间和之后渲染:

DisplayList Rendering before, during, and after the tween

热门活动:

Top Activities

关于如何获得更顺畅的结果的任何提示?

0 个答案:

没有答案