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

Add "pause" menu #583

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft

Add "pause" menu #583

wants to merge 4 commits into from

Conversation

toberge
Copy link
Collaborator

@toberge toberge commented Mar 16, 2024

image

Barely solves #138
Closes #586
Closes #585

@toberge toberge marked this pull request as ready for review March 16, 2024 17:41
@toberge toberge force-pushed the feature/pause-menu branch 3 times, most recently from 4f45ec5 to b93aa5b Compare March 16, 2024 19:15
Copy link
Collaborator

@Fueredoriku Fueredoriku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good feature! 😁👍
I have some feedback and one requested change:

Feedback:

  • I think we should rename the "Not paused" title to just "Menu" or "Pause Menu"
  • The keybind for the gamepadaction of opening the menu should probably be mapped to the right button and not the left. Whic would be "start[gamepad]" instead of "exit[gamepad]". Alternatively it could be both.

Requested change:

  • Currently the pause menu breaks zooming. If zooming is performed and the player then pauses and continues the game, zooming will remain broken until player is respawned.

@toberge
Copy link
Collaborator Author

toberge commented Mar 17, 2024

Fixened

Copy link
Collaborator

@Fueredoriku Fueredoriku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some feedback:

  • It seems you can't select between buttons with a gamepad
  • Opening more than one menu will deselect all buttons for all players except the newest menu

And a bit more nickpicky:

  • For gamepads specifically: When zoomed, if you open a menu, the hand will remain in zoomed position until you zoom in and out again (I suspect this is due to gamepads having toggle behaviour for zooming that is not accounted for)
    image

@toberge toberge mentioned this pull request Mar 21, 2024
@toberge toberge marked this pull request as draft March 23, 2024 19:17
@toberge
Copy link
Collaborator Author

toberge commented Mar 23, 2024

Setting this as draft again since it's waaaay more work than I assumed 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
2 participants