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

Make SceneManager robustly handle Main Menu and Game swapping #33

Open
DevMichaelV opened this issue Feb 20, 2025 · 0 comments
Open

Make SceneManager robustly handle Main Menu and Game swapping #33

DevMichaelV opened this issue Feb 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@DevMichaelV
Copy link
Contributor

The SceneManager needs to handle when the user presses ESC to open the Main Menu for going back to the GameSelection or quitting the game.

For running sub-games as standalone scenes while developing them:
As SceneManager is a Global in the project, it can check if the GameRoot node exists, and:

  • Use the GameRoot to quit to the GameSelection, or
  • Quit the game entirely

The Main Menu may consist of things like:

  • Return to Game Selection
  • Settings
  • Exit Game

Notes / Caveats:
Some checking may need to be implemented, as games may have their own menus.
Developing a structured format for sub-game developers to adhere to for this project seems necessary.

@DevMichaelV DevMichaelV added the enhancement New feature or request label Feb 20, 2025
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