sprite ai
Audit A New Sprite Format Against an Older File With the Same Stem
An AI art revision may arrive in a different format from the currently shipped file. If both files share the same stem, a runtime that searches extensions can keep loading the older one. Make the asset manifest state the intended file, including its extension, and detect ambiguous stems during packaging. Treat a migration that deliberately retains both formats differently from an unintended duplicate.
Test the lookup through a clean content directory
Create two versions of a pose with different accent colors and keep both paths under the same stem. Load the shipping scene once using its usual manifest. Read a sample from the displayed pose to see which revision was actually loaded. Then add an explicit path or rename the intended output and rerun the test. Use a new process each time so you can distinguish extension selection from an image already held in memory.
The technical guide and test fixture documents that a bare name in a tested Pygame Zero version prioritizes PNG when a same-stem GIF is also present. Selecting the correct file only verifies identity. If the new format contains motion, separately test whether the runtime consumes the animation rather than just a still image.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.