Replies: 1 comment 2 replies
-
You can change the default menu key: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you dont want the "default" menu you can override it and add a custom menu with custom backgrounds and buttons. It extends FXGLMenu. But the types are fix (GameMenu and MainMenu). And you dont seem to be able to change the key bindings for opening and closing the Ingame menu.
Use case:
Have a game open - RPG. Be in a Vendor UI. When you now press ESC, the vendor UI gets closed. But also the menu gets opened.
I would like to be able to add custom code to the key bindings and say, if UIManager.myWindowOpen... -> dont open GameMenu. Else dont open it.
Is this a new feature? Or possible with FXGL?
Beta Was this translation helpful? Give feedback.
All reactions