munificent / hauberk

A web-based roguelike written in Dart.
http://munificent.github.io/hauberk/
Other
2k stars 200 forks source link

HJKL/Nethack movement #4

Open jesskay opened 10 years ago

jesskay commented 10 years ago

Is there any chance of an option for Nethack-style movement keys? As odd as it sounds, they're much more intuitive for me than your positionally-accurate choices for the non-numpad keys (I don't have a numpad), and don't lose diagonal movement like using the arrow keys would. For the record, they go like this:

.---.---.---.
| y | k | u |
'---'---'---'
| h |   | l |
'---'---'---'
| b | j | n |
'---'---'---'
munificent commented 10 years ago

I'm not philosophically opposed to it. I think ultimately it needs to support user-defined keybindings so that people with non-US layouts can do something that makes sense for them. But, independent of that, it might make sense to make roguelike keys an easily enabled option.

Personally, I've tried, but could never get used to them. But, then, I couldn't get used to vi either.

There's a funny bit of history here. About fifteen years ago, I was big into playing Angband. I got my first laptop around that time. I tried, but I couldn't get used to playing Angband without a numeric keypad. My frustration eventually led to me tinkering on my own roguelike which, after several iterations, became what you see here. So, I suppose, if I could get used to the roguelike keys, Hauberk wouldn't exist. :)

richrd commented 8 years ago

Hi,

Just came to say thanks for creating a great game! I played through it last year but I forgot the name. It took me a good while of searching to re-find today. Nice to be able to play it again.

User definable keys would be nice, but personally I'm ok with what they are now.

I'm with you regarding getting used to key bindings. So much so, that I did the same as you, but with text editors (created my own). If you never got used to vi (like me) you might get used to my Sublime Text inspired editor Suplemon: https://github.com/richrd/suplemon

Thanks again!

munificent commented 8 years ago

Just came to say thanks for creating a great game!

Thank you! It's both gratifying and a little weird to hear that because I consider it so woefully incomplete. But, I guess, that's the nature of a hobby project. If I ever finished it, I'd be out of a hobby. (Not that I have a shortage of them...)

ooflorent commented 6 years ago

Here is a simple suggestion: use KeyboardEvent#code to map to physical keys to support non-US keyboard.

En810 commented 5 years ago

I have been playing off and on for a few years, just wanted to say I love the new tile set and mechanics. I can't wait till you finish the stores and the classes.

munificent commented 5 years ago

Thanks! :D