4 releases (2 breaking)

0.36.2 Feb 27, 2025
0.36.1 Feb 25, 2025
0.36.0 Feb 5, 2025
0.2.0 May 23, 2024
0.1.0 Jan 25, 2024

#2257 in Game dev

Download history 93/week @ 2024-12-21 111/week @ 2024-12-28 110/week @ 2025-01-04 127/week @ 2025-01-11 93/week @ 2025-01-18 92/week @ 2025-01-25 361/week @ 2025-02-01 256/week @ 2025-02-08 147/week @ 2025-02-15 343/week @ 2025-02-22 188/week @ 2025-03-01 164/week @ 2025-03-08 213/week @ 2025-03-15 148/week @ 2025-03-22 128/week @ 2025-03-29 129/week @ 2025-04-05

643 downloads per month
Used in 8 crates (2 directly)

MIT license

1MB
17K SLoC

Animation allows you to change properties of arbitrary objects at runtime using a set of key frames. See Animation docs for more info.


fyrox-animation

Flexible, general-purpose, reflection-based animation system for game development.

NOTE: even though this crate has fyrox prefix in its name, it can be used separately without any issues.

Features

  • Reflection-based animation.
  • Animation blending state machine.
  • Sprite sheet animation.
  • Various blending modes - blend by weight, blend by index, blend space.
  • Smooth state transition.
  • Ability to animate any numeric property, including vectors, bools, natural and real numbers.
  • Layer masks.
  • Root motion.
  • Fixed set of binding modes for most common cases.
  • Signals and events.

Dependencies

~10–21MB
~309K SLoC