From c2802b78b6092b82cd400cfa05f772f78508cc5c Mon Sep 17 00:00:00 2001 From: Seldom Date: Sat, 4 Mar 2023 13:52:23 -0700 Subject: [PATCH 1/2] N43: `seldom_state` --- content/news/043/index.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/content/news/043/index.md b/content/news/043/index.md index d6f1d291f..8f254538b 100644 --- a/content/news/043/index.md +++ b/content/news/043/index.md @@ -297,6 +297,27 @@ generated Metal/GLSL preview. [web demo]: https://not-fl3.github.io/miniquad-samples/shadertoy_cross.html [macroquad-shadertoy]: https://github.com/not-fl3/macroquad/blob/master/examples/shadertoy.rs +### [`seldom_state`] + +[`seldom_state`] 0.4 has been released! + +`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 release adds: + +- 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 From ee095cbaad8f1ffc675f9719f30b5ab3a5f95e80 Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Sun, 5 Mar 2023 20:31:36 +0400 Subject: [PATCH 2/2] N43: seldom_state: fmt/style tweaks --- content/news/043/index.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/content/news/043/index.md b/content/news/043/index.md index 8f254538b..8bebb09ea 100644 --- a/content/news/043/index.md +++ b/content/news/043/index.md @@ -297,26 +297,26 @@ generated Metal/GLSL preview. [web demo]: https://not-fl3.github.io/miniquad-samples/shadertoy_cross.html [macroquad-shadertoy]: https://github.com/not-fl3/macroquad/blob/master/examples/shadertoy.rs -### [`seldom_state`] +### [seldom_state] -[`seldom_state`] 0.4 has been released! - -`seldom_state` is a Bevy plugin that adds a `StateMachine` component that you +[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 release adds: +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 + 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 + 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. + which enables 9 built-in triggers related to input. `JustPressedTrigger`, + for example. - `OptionTrigger` and `BoolTrigger` traits, which are simpler to implement -than `Trigger` + than `Trigger`. -[`seldom_state`]: https://github.com/Seldom-SE/seldom_state +[seldom_state]: https://github.com/Seldom-SE/seldom_state ## Popular Workgroup Issues in Github