jake-pauls / Hamstars

Winner of the Artisan Award @ Town One 2022 ⭐ Play with up to four friends in a frantic hamster brawl over nuts and squash the competition
0 stars 1 forks source link

Allow gamepads to traverse menus #59

Closed ReynoldsCahoon closed 2 years ago

ReynoldsCahoon commented 2 years ago

Allow the game menus to be navigated with gamepads.

jake-pauls commented 2 years ago

This can be implemented in a rudimentary way via script (and was for the jam, not sure why it didn't work):

uiButton.Select()

If @Kabug is implementing rewired, there won't be much of a point in making a set of UI InputActions with the new input system.

Another way this can work (since we don't have many individual menus) is just by making the Start button the First Selected in the Main scene.

image

This may be problematic however if we implement some flow where the main menu reappears before the players quit.