munificent / hauberk

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

Go Right #3

Closed LogansUA closed 10 years ago

LogansUA commented 10 years ago

Hey, nice game) I have one question about control. Why I can't go right? I press ";", on my language it's "ж" (Ukrainian) near the "L", but nothing changes.

P.S. Sorry for my spelling mistakes.

Nevon commented 10 years ago

All the keybindings reference keycodes directly, as can be seen here, for example. @munificent has mentioned that he's working on a better input system: http://journal.stuffwithstuff.com/2014/07/15/a-turn-based-game-loop/#comment-1524572319

Nevon commented 10 years ago

415b8a7 alleviates this problem somewhat, since it allows you to play with your numpad (which hopefully has the same layout for at least most languages).

munificent commented 10 years ago

Yeah, this should be better now. If you have a numpad, that should just work regardless of international keyboard layout. If you want to use laptop keys and aren't using a US layout, this can still be a pain. At some point, I'll try to add support for user-defined keybindings. The basic infrastructure is in place now, it just needs a UI to let you pick them.