sprite sheet maker
Test the art path inside the packaged Solarus quest
An asset path can work on the artist’s machine and fail once a quest is delivered. When using sol.surface.load, Solarus expects the PNG path with its extension, relative to quest data. Code migrated from a legacy creation overload can carry different directory assumptions even when the artwork itself is intact.
Add an unmistakable packaging canary
Prepare two tiny HUD images with the same basename in different quest data directories. Give them different opaque corner colors. Reference exactly one quest-relative path in the release manifest. Launch the loose quest and a packaged copy from a separate working directory. In both cases check the chosen color on the rendered surface. The duplicate basename makes accidental folder fallbacks visible.
Run the same check after the art directory moves and again after dropping the extension in a deliberately invalid manifest entry. The invalid entry should be caught with the path and caller clearly recorded. Keep file paths as the authored manifest values so a migration does not silently infer a folder or extension. FrameSprite’s technical guide and test fixture shows which loading paths worked in a controlled Solarus quest.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.