2 unstable releases

new 0.2.0 May 23, 2024
0.1.0 Jan 25, 2024

#2091 in Game dev

Download history 71/week @ 2024-02-01 42/week @ 2024-02-08 59/week @ 2024-02-15 61/week @ 2024-02-22 63/week @ 2024-02-29 61/week @ 2024-03-07 48/week @ 2024-03-14 53/week @ 2024-03-21 64/week @ 2024-03-28 55/week @ 2024-04-04 57/week @ 2024-04-11 56/week @ 2024-04-18 72/week @ 2024-04-25 87/week @ 2024-05-02 36/week @ 2024-05-09 42/week @ 2024-05-16

249 downloads per month
Used in 6 crates (2 directly)

MIT license

620KB
14K SLoC

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.

lib.rs:

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

Dependencies

~10–25MB
~313K SLoC