sprite sheet maker
Convert Sprite Delays Once When Playback Uses Engine Ticks
A sprite decoder's duration field needs a unit before a playback system can schedule it. A configuration called a timebase does not establish that all backends emit ticks. Qualify the installed decoder against known values and name the conversion step.
For an illustrative clip with 60, 140, and 270 millisecond holds, the desired total is 470 milliseconds. In a 60 Hz loop this represents 28.2 tick intervals, so rounding each pose separately can accumulate timing error over repetitions. Compare motion markers against cumulative elapsed time, or carry the fractional remainder across boundaries. Test 10 loops when no intentional pause is present; the expected duration is 4.7 seconds before any separately documented clock quantization.
The technical guide and test fixture records identical millisecond values across tested timebase settings in SDL_image 3.4.8 for GIF, APNG, and animated WebP. Scope the acceptance rule to codecs you actually use. A diagnostic should show raw durations with their observed unit and converted schedule values in a separate column. Run the same fixture after a decoder upgrade so a future change does not silently convert the same timing data twice.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.