Bevy Sequential Actions
A Bevy library that aims to execute a list of actions in a sequential manner. This generally means that one action runs at a time, and when it is done, the next action will start and so on until the list is empty.
Getting Started
An action is anything that implements the Action
trait, and can be added to any Entity
that contains the ActionsBundle
.
Examples
See the examples for more usage. Each example can be run with cargo run --example <example>
.
Consider running with --release
as debug builds can be quite slow.
Example | Description |
---|---|
basic |
Shows the basic usage of the library by adding some actions and then quitting the app. |
pause |
Shows how to pause and resume an action when pressing space . |
repeat |
Shows how to add actions that basically loop forever in the added order. |
Compatibility
bevy | bevy-sequential-actions |
---|---|
0.8 | 0.3 |
0.7 | 0.1 — 0.2 |