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

Implement restarting in playing screen #207

Open
benfrankel opened this issue Jul 30, 2024 · 1 comment
Open

Implement restarting in playing screen #207

benfrankel opened this issue Jul 30, 2024 · 1 comment
Labels
blocked Requires work upstream enhancement New feature or request
Milestone

Comments

@benfrankel
Copy link
Collaborator

Bevy state currently does not support same-state transitions out of the box. However, there are a few options here:

  • Write our own custom schedule: This is not reasonable IMO, especially for this template.
  • Add a separate Screen::RestartPlaying state: This adds a 1-frame delay, and will need to be explained, but it's not much boilerplate.
  • Wait for bevy_state 0.16 to support this out of the box: This is my preferred option.
@benfrankel benfrankel added enhancement New feature or request blocked Requires work upstream labels Jul 30, 2024
@benfrankel benfrankel added this to the Bevy Jam 6 milestone Jul 30, 2024
@janhohenheim
Copy link
Member

janhohenheim commented Jul 30, 2024

Agreed with waiting for proper self-transitions.
Blocked by bevyengine/bevy#14447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Requires work upstream enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants