Sprite Production Field Notes

sprite sheet maker

Make batch cel selection independent of the artist’s last click

A build step needs to extract the eye layer from the second expression frame. An artist’s active frame may happen to be correct in the editor. A scheduled build has its own context and needs enough information to derive the same output every time.

Create a small test sheet with separate marker colors in two layers at two frame indices. Include one deliberately empty cel on the target layer. Give the extraction job an explicit layer identifier and zero-based frame index. Run the job against the file saved with two different editor selections. The selected cel should have the same color in both runs. Also require the empty cel to produce the intended empty result or a clear asset validation message.

The technical guide and test fixture documents a LibreSprite 1.3 Windows batch fixture where app.activeSprite is valid and app.activeImage is null. Reading the requested cel directly from the layer and frame yields the expected image. The two values tell you about different kinds of state.

If names are part of the production art contract, resolve and validate the layer name before reading its frame. Include the resolved identity in the export log to make an accidental layer reorder easier to spot.

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