Benimator
A sprite sheet animation plugin for bevy
Features
- A
SpriteSheetAnimationcomponent to automatically update the indices of theTextureAtlasSpritein the same entity - Animation modes:
RepeatorOnce - An animation is playing if, and only if, a
Playcomponent is present in the entity- Simply remove/insert the
Playcomponent to pause/resume an animation
- Simply remove/insert the
- The animation can be defined from an index-range, or an arbitrary list of indices
- Each frame may have a different duration
Usage
Here is the result:

(Asset by La Red Games - CC0)
For more details see the documentation
Installation
Add to Cargo.toml:
= "0.3.0"
Cargo features
warnings(enabled by default). Log warnings in case of incorrect usage detected.
Bevy Version Compatibility
| bevy | benimator |
|---|---|
| 0.5 | >= 0.1 |
Contribute / Contact
Issues, pull requests are welcome.
It is possible to directly discuss with me (Jomag#2675) via the bevy discord
License
Licensed under either of
- The Unlicense (UNLICENSE or https://opensource.org/licenses/Unlicense)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.