• 2D
  • Pixel border is blurry when moving

Please see the black borders of my image. When going up, my pixels are clear. When not going in a straight line (slanted) my pixels are getting unclear.

Any things I can do to fix this?

PS: I already tried unchecking the filter from import but that just made it worse.

Thanks a lot!

Try disabling mipmapping?

edit: so in project settings, Rendering - Quality, you could try toggling use pixel snap under 2d or Use nearest MipMap Filter under filtering.

I tried but I got worse. Or is this caused by the default grey background? I tried using the default image but got the same result there. I am pushing rigidbody2d's around the world, nothing fancy there right?

Honestly it's kind of hard to tell from the tiny screenshot and would be easier with a testable file.

Could you tell me the correct way to import sprites? What dimensions should be used? Is the quality in the editor downscaled from the quality of the final .exe-file?

I could give you a file but I just use an rigidbody2d to move in a not straight way. As sprite I am using the default image and you will see the edges being pixelated.

Edit: after a lot of searching online, the problem I have is that my lines are aliased so I need to apply anti-aliasing. What helped for me is leaving 2 transparent pixels around my tiles so 32x32 has a border of 2px transparent and then my sprite starts.

Ah, I see. I thought your issue with some blurring, but if it\s the opposite then that's a whole other story.