Sprite Production Field Notes

sprite sheet maker

Test the Empty Cel Next to a Tk Atlas Stamp

A contact sheet can look plausible even when the packer accidentally filled several empty slots with copies of one drawing. Make the gaps part of the acceptance test, especially when a runtime uses a blank slot as a reserved frame.

Build a three-slot negative test

Prepare a small RGBA atlas with a checker tile in the last slot, an empty middle slot, and a separate source pose with two distinct colors. Stamp the pose into the first slot. Compare the expected first rectangle to the packed pixels, require zero alpha in the middle rectangle, and require the final checker tile to remain byte-for-byte unchanged. Give the source an asymmetric left and right edge so an offset error also becomes visible.

Let the packer report its write set

Record the intended destination origin and source size separately from the overall atlas size. Report a mismatch with the first unexpected destination coordinate. FrameSprite's technical guide and test fixture demonstrates how Tk's origin-only and rectangular photo-copy forms write different extents. Keep one deliberate pattern-fill test as well, so the regression distinguishes an intended tile fill from accidental duplication.

Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.