bevy_flurx
This library provides functionality similar to coroutines, allowing you to write sequential processing for delays, user input, animations, and more.
Reactor can be used incrementally, meaning there’s no need to rewrite existing applications to incorporate it.
//! Here are some basic [once], [wait], [delay], [then], [pipe] and [through] actions.
//!
//! For details on all actions, please check [here](https://docs.rs/bevy_flurx/latest/bevy_flurx/action/index.html).
//!
//! [once]: https://docs.rs/bevy_flurx/latest/bevy_flurx/action/once/index.html
//! [wait]: https://docs.rs/bevy_flurx/latest/bevy_flurx/action/wait/index.html
//! [delay]: https://docs.rs/bevy_flurx/latest/bevy_flurx/action/delay/index.html
//! [then]: https://docs.rs/bevy_flurx/latest/bevy_flurx/action/sequence/trait.Then.html#tymethod.then
//! [pipe]: https://docs.rs/bevy_flurx/latest/bevy_flurx/action/pipe/trait.Pipe.html#tymethod.pipe
//! [through]: https://docs.rs/bevy_flurx/latest/bevy_flurx/action/through/fn.through.html
use *;
use *;
use Duration;
;
Example
All examples are here.
Feature flags
| flag name | short description | default |
|---|---|---|
| audio | audio actions | false |
| record | undo/redo actions and events | false |
| side-effect | thread/async side effects | false |
| state | state actions | false |
| tokio | allows to use write asynchronous functions depend on tokio directly in the reactor | false |
audio
Provides the actions that perform simple audio playback and waiting using bevy's default audio functionality.
record
Provides Record to manage operation history.
side-effect
Allows to convert the operations with side effects such as asynchronous runtime or thread into the referential-transparent actions.
tokio
You will be able to write processes that depend on tokio's runtime in the reactor.
ChangeLog
Please see here.
Compatible Bevy versions
| bevy_flurx | bevy |
|---|---|
| 0.11 ~ | 0.16 |
| 0.7.0 ~ | 0.15 |
| 0.6.0 ~ | 0.14 |
| 0.3.0 ~ | 0.13 |
Credits
Using bevy_game_template to CI.
License
This crate is licensed under the MIT License or the Apache License 2.0.