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

Exit to Menu #32

Closed
thombruce opened this issue Oct 4, 2023 · 1 comment · Fixed by #102
Closed

Exit to Menu #32

thombruce opened this issue Oct 4, 2023 · 1 comment · Fixed by #102
Labels
ui Inputs, menus and the like
Milestone

Comments

@thombruce
Copy link
Owner

I've just opened the game three times in a row and closed it again because I'd developed a habit of jumping straight in by hitting enter. I wanted to view the credits... 🤷‍♂️

Add a way to exit the game to the main menu, and add a way to exit from the menu to desktop without having to hit the 'X' or alt+f4.

The best way I can think of to enable this is navigable menus; you should be able to use cursor keys to navigate a menu and hit enter on an item to make your choice.

Exiting from game to menu will probably occupy the Esc key, meaning simple pause will either be removed or isolated to the P key. There will again be a navigable menu with "Do you want to quit?" as a prompt and "Yes" or "No" response options, or something loosely equivalent to that.

@thombruce thombruce added this to the v0.1.0 milestone Oct 4, 2023
@thombruce thombruce added core New feature or request ui Inputs, menus and the like and removed core New feature or request labels Oct 11, 2023
@thombruce
Copy link
Owner Author

See recent reworking of the Start Menu and Credits: #88

This PR introduced a new UI navigation system that would be really useful here. Consider having two buttons added to the pause screen:

  1. Continue
  2. Exit to Menu

With exactly the same approach taken in the above PR, this should be straightforward to implement.

@thombruce thombruce added this to Verse Nov 6, 2023
@thombruce thombruce moved this to Inbox in Verse Nov 6, 2023
@thombruce thombruce moved this from Inbox to Todo in Verse Nov 6, 2023
@thombruce thombruce moved this from Todo to In Progress in Verse Nov 8, 2023
@thombruce thombruce mentioned this issue Nov 14, 2023
5 tasks
@github-project-automation github-project-automation bot moved this from In Progress to Done in Verse Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Inputs, menus and the like
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant