Skip to content

Update States to Bevy 0.10.#222

Closed
andriyDev wants to merge 1 commit intobevy-cheatbook:mainfrom
andriyDev:states
Closed

Update States to Bevy 0.10.#222
andriyDev wants to merge 1 commit intobevy-cheatbook:mainfrom
andriyDev:states

Conversation

@andriyDev
Copy link

This basically comes from this Bevy announcement.

States are much simpler now at the cost of some functionality (state stacks).

@andriyDev
Copy link
Author

I chose to omit OnUpdate in favour of the run condition in_state. Bevy at HEAD has already removed the OnUpdate system set, since the in_state run condition already does the same thing.

To hopefully make these docs a little more stable for longer, I think using in_state is better.

@andriyDev andriyDev closed this Nov 18, 2023
@andriyDev andriyDev deleted the states branch November 18, 2023 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant