SebLague / Geographical-Adventures

https://sebastian.itch.io/geographical-adventures
MIT License
3.41k stars 492 forks source link

Keybindings customization #50

Closed fsioni closed 2 years ago

fsioni commented 2 years ago

I added the possibility to change the Keybindings in the already existing menu.

https://user-images.githubusercontent.com/82713835/167036496-95ebc4d5-951b-48d3-9909-fb49c6e37152.mov

I modified the 'Controls' tab in the settings. Feel free to make it look better or to add/delete commands

If this PR is accepted, I plan to implement persistence of preferences between sessions and a button to reset to the defaults keybinds

fsioni commented 2 years ago

Works only when the 'Settings Menu' GameObject is active on start : working on correction

fsioni commented 2 years ago

Bug fixed ✅

SebLague commented 2 years ago

Hi, thanks for contributing. This is looking good, however I do not want to revert back to the old input system as the new one seems to have better support for various gamepads (which I have already partially implemented), and is nicer to work with in my opinion. If you're willing to change this to use the new input system + make rebinds persist between sessions then I'd love to merge it. Thanks again for the effort!

fsioni commented 2 years ago

Hi, thanks for contributing. This is looking good, however I do not want to revert back to the old input system as the new one seems to have better support for various gamepads (which I have already partially implemented), and is nicer to work with in my opinion. If you're willing to change this to use the new input system + make rebinds persist between sessions then I'd love to merge it. Thanks again for the effort!

Hi Sebastian ! I understand your willing to keep the new Input System. Actually, I realised that there you started to implement the new one after I finished my PR.

I hope that my next contribution will live up to expectations :)