MichaelSinsbeck / platformer

A ninja platformer written in LÖVE
7 stars 0 forks source link

Consistent Key-assignment #206

Closed michalove closed 7 years ago

michalove commented 10 years ago

The in-game keys are the ones assigned in the options menu. The menu keys on the other hand are hard coded. Do we want to make this consistent? In the game Super Meat Boy it pissed me a bit of, that I could not change the gamepad button assignment for the menus.

We can always include a readme that explains how to change keys outside the game by editing the config file. (in case the user messes up all the keys and can't change them anymore).

Germanunkol commented 10 years ago

True, it should be consistent. However I'm always a little confused on how to change keys that are used during assignment (esc to abort and enter to start assignment, for example). But it should be doable...

michalove commented 10 years ago

The button assignment in Fez was also a bit messed up. There, any change would apply immediately. I changed some important button and could not leave the menu anymore. My suggestion: Keep the old buttons constant until the user leaves the menu with "apply". Then apply all changes at once. We could also add a check such that each button has one button assigned. Otherwise, it should not accept the change. What do you think? Is there a simpler solution than this?

Germanunkol commented 10 years ago

That sounds good. The check is already implemented, along with an "no key assigned to two different actions" check.