sprite ai
Keep Solarus reskins keyed to a logical sprite name
Replacing a generated costume sheet should leave the script that spawns the character intact. A Solarus sprite is created from a logical animation set ID. Its bitmap is a separate resource referenced from the definition. Treating an artist’s PNG filename as a sprite ID can break the scene the first time an export is renamed.
Rehearse a costume update without touching the spawn
Create a disposable animation set with a short idle cycle and one asymmetric debug frame. Keep the scene’s spawn ID stable. Replace its source PNG with a distinctly marked alternate filename and update the definition to point at it. Package the quest and verify that the same spawn request displays the alternate marker and advances the cycle.
Add a negative case with a stale texture reference so the asset audit catches a missing companion image. Keep static art that needs no animation metadata on a separate loading path for surfaces. This makes the two contracts clear in the art manifest. A costume handoff carries a logical name, a definition and the required PNGs. FrameSprite’s technical guide and test fixture compares those names in the native loader.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.