Sprite Production Field Notes

sprite sheet maker

Preserve Sprite Registration in a Sidecar When PNG Metadata Is Removed

An optimizer can remove a text anchor from a sprite PNG and leave every decoded pixel unchanged. If an importer relies on that anchor, the loss can show up as a jump in the game even when the art review passes.

Store the anchor with the delivery geometry

For a synthetic 32 × 32 sprite, record a foot anchor at (14, 29) in the asset manifest. Read and validate the source anchor before stripping any approved metadata. Once the sidecar becomes the runtime source of truth, check it against the staged image and reject a missing or malformed value.

Compare behavior after the optimization

Load the original and stripped versions using the intended manifest. Plot the foot anchor against a static floor marker. Both deliveries should place the artwork the same way. Also load the stripped file without the manifest and expect a clear failure where the anchor is required instead of silently assuming the image center.

FrameSprite’s technical guide and test fixture measures a lossless OptiPNG output that retains indexed transparency while removing text and other metadata. The sidecar control tests the game behavior that a pixel comparison alone misses.

Prepared by the FrameSprite Workflow Team with AI assistance. Illustrative examples are labeled in the text.