makeSpriteClipAnimationSystem
makeSpriteClipAnimationSystem<
TCtx>(options):SchedulableSystem<TCtx>
Defined in: src/modules/animation/sprite-clip.ts:156
Build a schedulable system that advances every SpriteAnimatorDef by
resolving its clip key in the registry, then writes the current frame name
into the entity’s RenderableDef (preserving all other Renderable fields).
An animator whose clip key is missing from the registry is skipped for that
tick and reported to onMissingClip. Entities without a RenderableDef
still advance, but no renderable write occurs.
Type Parameters
Section titled “Type Parameters”TCtx extends SpriteClipAnimationTickCtx
Parameters
Section titled “Parameters”options
Section titled “options”SpriteClipAnimationSystemOptions
Returns
Section titled “Returns”SchedulableSystem<TCtx>