bevy-2d-animation
Installation
SKILL.md
Bevy 2D animation
When to use
Load this when a 2D actor needs clip playback on a sprite entity. Pair with bevy-animation for the player and clip types. Pair with bevy-animation-graph when clips must blend.
ECS shape
- Components:
Sprite(bevy::sprite) on the visible entity.AnimationPlayerandAnimationTargetId/AnimatedBy(bevy::animation) link a clip to that entity. - Resources: clip assets are
AnimationCliphandles, not a global player. - Systems:
advance_animationsandanimate_targetsare the engine systems named on the animation page. Gameplay code should not reimplement them. - Schedule: those systems are engine-owned. Gameplay that reacts to a finished clip chains after them.