Sprite Production Field Notes

sprite ai

Reconcile the Solarus sprite inventory with real loads

A generated costume may appear in the game and remain absent from the editor’s sprite picker. A Solarus sprite definition can load by explicit ID even when the project database does not enumerate it. These operations answer different questions, and a migration can complete only one of them.

Check the three inventory states

Build a disposable quest with one registered and functional sprite, a working unlisted variant and a deliberately stale entry. Give the two functional definitions separate marker art so the test sees a real load rather than an empty placeholder. Compare the set of explicitly loaded IDs with the resource inventory your tooling presents. Record missing expected IDs and entries that fail a load on separate lines.

Agree on which generated assets are intentionally internal and which must appear in authoring pickers. Put that decision in the same shared manifest that drives the test, so an intentional internal sprite can load without creating noise. Run the reconciliation against packaged quest data too. That way a missing source PNG earns a load error even when its database entry is still present. FrameSprite’s technical guide and test fixture covers the distinction the check relies on.

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