Sprite Production Field Notes

sprite sheet maker

Verify Nested Sprite Resource Keys at the Packaging Boundary

A code example can load a nested pose via a Python object while the packaged animation fails to load the same pose by string. Keep a clear distinction between an asset's logical clip name and its resource key relative to the image root. Store the latter in the delivered manifest instead of copying a dotted expression from an editor script.

Create two equal-sized images under different nested folders with distinct marker colors. Include one correct slash-delimited path in a test manifest and deliberately include a dotted spelling in a bad manifest. Load the packaged files through the same runtime entry point that uses the manifest. For valid records, verify the decoded marker belongs to the intended directory. For the invalid record, report the exact bad key before starting playback. Run the same check in production's packaging layout, since a test that loads source files can hide a copied or missing subdirectory.

The technical guide and test fixture shows a Pygame Zero 1.2.1 test where Python attribute traversal and the Actor's resource string need different syntax. Keep file case consistent too. A manifest that survives one filesystem's rules can still fail on a receiving system with different case sensitivity.

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