开发者

TweenMax: tween stumbles the first time

开发者 https://www.devze.com 2023-03-05 00:34 出处:网络
I have some image Containers which hold a lot of images(10-100). Some of those Containers(Sprites) are off screens but are loaded and added.

I have some image Containers which hold a lot of images(10-100). Some of those Containers(Sprites) are off screens but are loaded and added. Through arrow keys I start a tween in the according direction. The tween开发者_高级运维 is not smooth(stumbles) always the first time when a container comes on-screen. How do I get a smooth tween ?


mySpriteContainer.cacheAsBitmap = true; -> solved my problem

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号