Make WASD customizable #10
Comments
The switch part seems easy as it can be done with refactoring it to if cases. However, a config system is probably required to handle/take different keys and it would be also good in general to have configurable settings. I could help, but the config type/file format should be discussed first. |
That’s not really a problem. The struct |
PR #17 should fix this. I’ll merge it within the next 24 hours if there are no objections. |
Does this means we can use |
I’m afraid not, because |
PR was merged, I’ll close this for now. |
WASD is not ergonomic on some keyboard layouts, and it would be a good idea to create a simple way to change them. Currently, we do these movements in a
switch
statement, meaning we cannot have non-constants. It would make sense to make this scriptable through Lua, though.Thanks to this comment on HN for making me aware of this issue.
The text was updated successfully, but these errors were encountered: