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

Repetitions / iterations #6

Open
CGMossa opened this issue Jun 24, 2021 · 0 comments
Open

Repetitions / iterations #6

CGMossa opened this issue Jun 24, 2021 · 0 comments

Comments

@CGMossa
Copy link
Collaborator

CGMossa commented Jun 24, 2021

There are currently two ways to make repetitions/iterations possible with bevy.

  1. Execute next iteration by resetting all the global components after the final stage has elapsed.
  2. Insert a "tag" that dictates if something operates within a repetition or whatever.

(1) has been explored extensively, and the structure of states that facilitates this should be incorporated in this project as well. (2) is fairly hairy, but could possibly show an advantage of using an ECS, and actually yield better performance. It is necessary however to not over feed the framework with too many entities, so the number of "active" iterations has to be kept at a minimum, and should be executed according to some time that respects the repetitions scenario-time as well.

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

No branches or pull requests

1 participant