MrStahlfelge / lightblocks

Falling Lightblocks. Falling block game for Android (Mobile and TV), iOS, Web browsers. Works on desktops, too.
https://www.golfgl.de/lightblocks/
Other
148 stars 16 forks source link

Add different controls for game vs menu and also allow duplicate button mapping. #37

Open StarrKiss opened 3 years ago

StarrKiss commented 3 years ago

I am trying to use this with a game pad and it really is not working - if it works in the menu, it doesn't work in the game, and vice versa. My preferred control setup on an Xbox one Controller is In game: Up and down dpad to rotate Left and right dpad to move A button to soft drop B to hard drop Pause to pause. In menu: Up and down dpad to go ip and down Left and right to go left and right A to accept choose B to go back

As it is, this is impossible to config properly with the current state.

MrStahlfelge commented 3 years ago

I see the problems you experience, however, having rotation and movement on the d-pad is a very special configuration. If I change the behaviour to not affect the menu, other players might have problems navigating the menu because their preferred way to do so - with the same buttons as in game - do not work any more. Since I expect them to be more users, and since the navigation in menu should be still useable for you by tapping, mouse or keyboard (depending on your system), I am not sure about a change here.

StarrKiss commented 3 years ago

What if there were sepertae keybines for menu and game? For instance "Down (in game)" would be soft drop, and "Down (menus)" would affect just the menus.