Pixel art - sprite jittering when moving via tween of move and slide

Godot Version

4.3 stable (macOS)

Question

Hi, I have this issue which I am struggling with. In my new project, when moving sprites, they will jitter/jump which looks quite glitchy.

Here is a video of the issue:

Despite the way I am moving the item I have the same issue.
For example for the cards I am using simple tween:

var tween = get_tree().create_tween();
tween.tween_property(draggable_node, 'global_position', node_original_global_position, 5)

For the characters I am using move_and_slide

I have tried to see the similar issues and:

  • played a bit with settings especially rendering, making sure all is set to “nearest”
  • tried to change scaling
  • tried to use callback_method to make sure each x,y is not a fractional

But still the same issue. I think there needs to be something wring with project settings as I have similar project with same sprites and it doesn’t jitter. I tried to compare settings one by one between those, but I all seems to be setup same

1 Like

Is the “snap 2d transforms to pixel” option on by any chance?

1 Like

yes, that is it. Thank you so much for help, that was driving me crazy :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.