bevy_spritesheet_animation 5.0.0

A Bevy plugin for animating sprites
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Make events optional


Events are always emitted, even when users never use them.
This becomes costly when many sprites are spawned.
Put them behind a feature flag or add a runtime option to toggle them.

# Add the current animation repetition to events


We have it available so might as well use it.

# Optimize playback


There's currently a lot of allocations during playback (esp. for events).
Use a single storage for all sprites instead of allocating one at each sprite update.