Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Asse on January 06, 2014, 08:30:57 AM
-
When using TweenPosition on a UIPanel it jiggles while moving (TweenPosition.value is updated correctly). This error was also present in 3.0.8 f3.
I'll send you a test project.
-
I see no jittering. It does, however, attempt to stay pixel perfect as you move it, snapping to pixels. Since your scene uses ortho camera size of 0.19 for some reason, your pixel size ends up being more than 5 times of what it should be. Ortho camera size should remain at 1 when UIRoot is used.
-
Ok, but the same happens in our real project with an ortho size of one.
Could you tell me what I have to change to make same labels not using pixel perfect? I've tried not using UILabel.MakePixelPerfect or not using crispness. The result stayed the same. UIDrawcall moved smoothly, UILabel jiggled (I guess because of uvs to make pixel perfect).
-
Labels always snap to pixels. If they didn't they would look blurry while being tweened. Why are you moving them so slowly anyhow?
-
Text snapping to pixel on Tween seems like it would be incredibly jittery. Why would it matter why the user wants to animate slowly? At the very least the ability to disable snapping on tween would be very very welcome.
-
It's not the tweens that are at fault here but the labels themselves. I'll likely address this in a future update.