Skip to content
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

Allow defining a stage for system's execution #80

Open
skyne98 opened this issue Mar 5, 2023 · 0 comments
Open

Allow defining a stage for system's execution #80

skyne98 opened this issue Mar 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@skyne98
Copy link
Contributor

skyne98 commented Mar 5, 2023

Like in bevy here.

Some systems might want to run before, or after, all other normal systems. Currently, it's impossible to do, unless you make this system manually require the execution of all those systems.

Stages to support at first:

  • PreSetup, Setup
  • First, PreUpdate, Update, PostUpdate, Last

By default, systems are added to the Update stage and are executed in the order of being added, unless manually requiring to execute, breaking the order.
Also, requiring execution of a system from a different stage should result in an error, as it moves the system execution out of the desired stage and might break things.

@skyne98 skyne98 added the enhancement New feature or request label Mar 5, 2023
@skyne98 skyne98 changed the title Allow defining a stage of system's execution Allow defining a stage for system's execution Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant