Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8bfd4df

Browse filesBrowse files
authored
N43: seldom_state (rust-gamedev#1302)
1 parent a3e7745 commit 8bfd4df
Copy full SHA for 8bfd4df

File tree

Expand file treeCollapse file tree

1 file changed

+21
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+21
-0
lines changed

‎content/news/043/index.md

Copy file name to clipboardExpand all lines: content/news/043/index.md
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,27 @@ until a condition is met.
450450
[pecs]: https://github.com/jkb0o/pecs
451451
[ecs]: https://bevyengine.org/learn/book/getting-started/ecs
452452

453+
### [seldom_state]
454+
455+
[seldom_state] is a Bevy plugin that adds a `StateMachine` component that you
456+
can add to your entities. The state machine will change the entity's components
457+
based on states, triggers, and transitions that you define. It's useful
458+
for player controllers, animations, simple AI, etc.
459+
460+
This month [seldom_state] 0.4 has been released:
461+
462+
- Transition builders (`StateMachine::trans_builder`) which let you pass data
463+
from triggers to states.
464+
- The `AnyState` state, which you can use wherever `StateMachine` accepts state
465+
type parameters, which lets you create transitions from any state, etc
466+
- A `leafwing_input` feature for `leafwing-input-manager` integration,
467+
which enables 9 built-in triggers related to input. `JustPressedTrigger`,
468+
for example.
469+
- `OptionTrigger` and `BoolTrigger` traits, which are simpler to implement
470+
than `Trigger`.
471+
472+
[seldom_state]: https://github.com/Seldom-SE/seldom_state
473+
453474
## Popular Workgroup Issues in Github
454475

455476
<!-- Up to 10 links to interesting issues -->

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.