Sprite Production Field Notes

sprite sheet maker

Make the blank frame explicit in an atlas packing job

A silent beat in an animation can be worth a timeline slot even when it has no visible pixels. A trim stage may reduce that pose to zero area. Sending the result straight to SFML 3.0.0 image copy can unexpectedly select the whole source image. The caller needs a way to distinguish a deliberate blank frame from a requested full-image copy.

Let the job describe the intended operation

Use three packing job shapes. A blank entry carries timing and placement metadata. A full-image entry explicitly selects the whole source. A cropped entry must have positive dimensions. Keep the distinction after serialization so an intermediary cannot turn a missing rectangle into four zeros.

To review the contract, pack a red windup, a blank beat and a cyan release into the middle of an existing diagnostic atlas. Give neighboring cells visible corner marks. Assert that the timeline still has three exposures and examine the blank destination and both neighboring marks. Run the same test with a deliberately malformed crop and check that the packing job reports an error with the source frame ID. FrameSprite’s technical guide and test fixture documents the zero-area fallback the importer is avoiding.

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