Sprite jumps around for a brief second when player moves?

Hello! I’m developing a platformer game.

I’ve made a idle animation, but when the player moves (I used GDevelop’s 5 basic movement model) the sprite jumps around very briefly around the player’s position.

I didn’t have this problem when I used a still sprite. Any ideas what might be causing this?

Hi,
Make sure all the images are the same size.

1 Like

Ah, thanks! But what about when…
My default sprite box is 150x150, but my animation sprite box is slighly wider (170x150) because animation requires a bit of extra space?
Should I just resize all the sprite boxes into the biggest one’s dimensions?

yes indeed, all images, no exception.

1 Like