#Animated sprite artifact (using animation player)

4 messages · Page 1 of 1 (latest)

void pasture
#

I'm using a spritesheet with no padding and sometimes artifact appears, curiosly only on the upper part. I'm animating the frame property on a simple sprite using an animation player, I use that instead of an animated sprite node because I need to do more stuff in the animation. But the thing is... How should I solve this? I could export my spritesheet with padding, but as this is not a tilemap that receives a spritesheet resource, I can't take padding in mind, I just have hframes and vframes property.

I don't know what to do

stiff fable
heavy edge
#

@void pasture you may need to check the setting in texture to be set to nearest. Also, sometimes when godot imports pngs, it doesn't get it right all the way, so you click on the PNG, click the import tab and check the setting box to 2d and click reimport.

fleet sonnet
#

padding each frame should work fine as long as each frame stays as a uniform size