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

#2090 in Game dev

Download history 108/week @ 2025-01-15 90/week @ 2025-01-22 77/week @ 2025-01-29 478/week @ 2025-02-05 200/week @ 2025-02-12 152/week @ 2025-02-19 360/week @ 2025-02-26 154/week @ 2025-03-05 195/week @ 2025-03-12 169/week @ 2025-03-19 144/week @ 2025-03-26 131/week @ 2025-04-02 230/week @ 2025-04-09 148/week @ 2025-04-16 203/week @ 2025-04-23 129/week @ 2025-04-30

729 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

~11–22MB
~331K SLoC