#animation #bevy #gamedev #format #rust

bevy-animator

An animation library for Bevy that supports many animation formats and animation state machines

1 unstable release

0.1.0 Jul 23, 2024

#1602 in Game dev

MIT/Apache

51KB
339 lines

** This Crate is still work in progress and isn't feature complete or stable. **

Bevy Animator

Bevy animator is an animation system desgined for the bevy game engine. It is designed to remove a large amount of boilerplate required for animation, and allows for state based animations.

Motivation

The State or animation in bevy varried. Bevy has an implemnetation for GLTF animations files, but no support for 2D animation. There are many 3rd party animation libraries that are great, but it can be difficult to controll the animations as well as use them together. This crate was made as a one stop shop for animations, while also giving and easy to use api for updating the animation state.

Supported Animations

  • Aseprite (Since 0.1.0)
  • BlockBench
  • GLTF and GLB

.. More to come.

How To

Contributing

To contribute, you can open an issue along with a feature branch. When done with the feature, you can make a PR and one of the maintainers will edit and close the PR. Some things to look out for while making a feature:

  • Each feature should only have one type of animation that it is looking to support.
  • Each feature should contain all logic code within a aptly named module (for example, all aseprite code is located in 'aseprite.rs')
  • All code should be documented so those that work on it later have a guide.

Dependencies

~18–46MB
~741K SLoC