sprite ai
Switch Between Sprite Projects Without Borrowing Their Cached Art
An AI sprite review application may let artists switch between several game projects that reuse filenames like idle.png. A preview can show artwork from the first project after switching roots if the image cache has a longer lifetime than the project. Use a project-scoped loader or a fresh preview process for an independent session.
Create projects A and B with visually distinct images under the same key and with equal sizes. Switch from A to B and back to A in the same application. Sample the preview after each switch and verify the expected source marker. Include one shared key requested under identical loading arguments in both projects. A test that uses separate filenames cannot reveal stale reuse. Keep a second check that changes a project revision without changing its root if your application supports live reload.
The technical guide and test fixture records a Pygame Zero 1.2.1 case where changing the root alone did not evict a previously loaded image and a fresh loader read the other project correctly. Put the project identity next to the asset identity in diagnostics, so a confusing screenshot can be traced back to the loader session that supplied it.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.