Game asset processing3 min read

Godot pixel sprite looks soft? Check odd sizes and centering

Use a 15-pixel fixture to inspect the half-pixel edges produced by a centered Sprite2D.

Godot pixel sprite looks soft? Check odd sizes and centering
A crisp pixel sword and a softened sword shown on enlarged grids
Concept illustration

A 15-by-15 prop can look soft in Godot 4.5 even when its Sprite2D position is an integer. Inspect the local texture edges produced by centering before adjusting camera motion or replacing the artwork.

Compare odd and even textures

  1. Make 15-by-15 and 16-by-16 fixtures with a one-pixel border. Import without lossy compression. Hold the scene at unit scale, with a stationary camera and integer node positions. Disable pixel snapping for the initial comparison.
  2. Set centered to true and offset to zero on both sprites. At a node position of zero, the odd texture spans -7.5 to 7.5 locally; the even one spans -8 to 8. Compare linear filtering with Nearest at a magnified view.
  3. Disable centered on the odd fixture, or test a half-pixel offset that moves its edges onto integer boundaries. Turning centering off also relocates the drawing relative to the node. Check feet and attachment coordinates before applying that change to a character.

Retest the imported assets

Organize the fixtures with Sprite Sheet Packer and inspect their imported dimensions again. If movement still makes the border flicker, check parent transforms, camera scale and the project's pixel snapping options. Record the one-pixel line at rest and in motion under the chosen filter.

Recommended tools

Ready to try "Godot pixel sprite looks soft? Check odd sizes and centering"?

Use our online tools to apply this tutorial to your indie game project right away.