Benimator
A sprite sheet animation plugin for bevy
Features
- A
SpriteSheetAnimation
component to automatically update the indices of theTextureAtlasSprite
in the same entity - Animation modes:
Repeat
orOnce
- An animation is playing if, and only if, a
Play
component is present in the entity- Simply remove/insert the
Play
component 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:
For more details see the documentation
Installation
Add to Cargo.toml
:
= "0.1.1"
Bevy Version Compatibility
bevy | benimator |
---|---|
0.5 | >= 0.1 |
Contribute / Contact
You can open issues/discussions here, or you can discuss with me (Jomag#2675
) in
the bevy discord