How can I fix this animation screen leak/tear?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By BlackBladedAxe

I have been making a little Space Invaders-inspired game, with custom drawn assets using Pixelorama, and my Spaceship sprite has a little visual issue.

I have a static Sprite for the spaceship itself, and some animated sprites for the thruster and the two guns. I have no issues with the gun blast animations, but the thruster animation has a little residue appearing at the top of the sprite.

What is causing this and how I might I fix it?

Thank you!

Just for more info, my Scene tree for the Spaceship looks as such:

Screenshot-2022-11-23-221908 hosted at ImgBB — ImgBB

I’m not sure if this is best practice, so please let me know if so!

BlackBladedAxe | 2022-11-23 22:20

I have the same issue, The only thing I know is that it involves the AnimatedSprite2D Node I think. I’ve tryed everything, and no one talks about this problem. If you activate pixel snap on project settings > rendering > 2d this effect seems to disappear, at least for me. I couldn’t find a better solution.