bevy-tweening
Installation
SKILL.md
Bevy tweening
When to use
Load this when a value should ease over time. A tween player is yours to build in ECS from elapsed time.
ECS shape
- Feature:
EasingCurvesamples an ease between two values. It is not a player that stores entity state. - Components: a tween you own: start, end, elapsed, and duration.
- Systems: step elapsed time on
UpdatewithTime::delta_secs, then writeTransform. - Animation: property animation over a clip is
AnimationClipon bevy-animation. That is a clip, not a one-shot UI tween.
[dependencies]
bevy = "0.20"
One system advances elapsed time. The eased t is EasingCurve::sample_clamped. Finished tweens are despawned by the marker, not by a callback type.