Sprite Production Field Notes

sprite sheet maker

Keep quoted atlas indices intact in a tile map migration

A map normalization script can convert every digit-like value to a number and produce JSON that looks reasonable in a diff. Sprite Fusion placements carry their tile IDs as strings. The tested Excalibur importer validates that exact field type. A successful cleanup pass still needs to prove that the IDs reach the runtime unchanged.

Test conversion and resolution separately

Make a fixture with at least three numbered tile placements across two different layers. Reorder the layers through the migration code without changing placements. Reload the emitted file and compare each tile ID’s text and type to its original. Check that cell coordinates still come out as numbers.

Then load the fixture using the real loader and confirm that each placement resolves to the expected artwork. One deliberately out-of-range string ID helps check whether your preflight can tell malformed JSON from a valid shape that references missing art. Prefer one typed serialization boundary for placements in any tool that does atlas arithmetic as numbers internally. The exported schema should still carry its own documented types. FrameSprite’s technical guide and test fixture identifies the field the importer rejects when it arrives as a number.

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