0 votes

Hi everyone,

is something wrong with my perception or is there a "smoothness-difference" between animating something via AnimationPlayer and via TWEEN?
For example, moving a sprite from one position to another easing in and out on start and finish, I have the impression that an AnimationPlayer-animation looks fine whereas the same thing done by TWEEN appears just the tiniest little bit rough, like a little bump at the end when easing into position.

Is that a thing? Has someone maybe observed something similar?


I did a side by side test with a Sprite now and the animations both look identical and absolutely smooth.
Then I added text-labels (DynamicFont): the Sprites are still animated smoothly, but the text clearly isn't!
Adding ColorRects (simple black square-shapes) shows the same "jittering" for them.
(This shows both on 100% resolution as well as on 50% test-width and -height, no matter how I set pixel snap or viewpost stretch mode...)

It appears as if the text and the shapes "jump" from one pixel to the next whereas the png-import smoothly slides from one to the other.
Interestingly an added button and a visible CollisionShape scroll perfectly smootly as well.

So I guess the animation methods both indeed work as they should and the observed issue depends on what is being animated. The why beats me though.

Godot version 3.3
in Engine by (492 points)
edited by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.