Skip to content

N43: seldom_state #1302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions content/news/043/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,27 @@ until a condition is met.
[pecs]: https://github.com/jkb0o/pecs
[ecs]: https://bevyengine.org/learn/book/getting-started/ecs

### [seldom_state]

[seldom_state] is a Bevy plugin that adds a `StateMachine` component that you
can add to your entities. The state machine will change the entity's components
based on states, triggers, and transitions that you define. It's useful
for player controllers, animations, simple AI, etc.

This month [seldom_state] 0.4 has been released:

- Transition builders (`StateMachine::trans_builder`) which let you pass data
from triggers to states.
- The `AnyState` state, which you can use wherever `StateMachine` accepts state
type parameters, which lets you create transitions from any state, etc
- A `leafwing_input` feature for `leafwing-input-manager` integration,
which enables 9 built-in triggers related to input. `JustPressedTrigger`,
for example.
- `OptionTrigger` and `BoolTrigger` traits, which are simpler to implement
than `Trigger`.

[seldom_state]: https://github.com/Seldom-SE/seldom_state

## Popular Workgroup Issues in Github

<!-- Up to 10 links to interesting issues -->
Expand Down