8 ms·
I wish it supported arrow keys. WASD is really awkward on a Dvorak keyboard.
by doodpants 12y ago
I wish it supported arrow keys. WASD is really awkward on a Dvorak keyboard.
- tzakrajs 12y agoSame problem on Colemak. (although less so thank Dvorak)
- kreldjarn 12y agoHa! Sorry about that. I wanted to avoid hard-coding keycodes for the sake of legibility so I used 'W'.getCharcodeAt(0) — which unfortunately doesn't work for the arrow keys.
- Recoil42 12y agoWhy not just use constants?
- deleted 12y ago[deleted]
- kreldjarn 12y agoPoint taken. I honestly did not perceive it as a necessary feature, but I'll fix this when I open up the code again.
- deleted 12y ago[deleted]
- ImJasonH 12y agoRather than berate him for this "unforgivable" practice, why not send him a pull request fixing it? https://github.com/kreldjarn/TRON/blob/gh-pages/scripts/Player.js#L39-L44 https://github.com/kreldjarn/TRON/blob/gh-pages/scripts/Play...
- louhike 12y agoOn keyboards for other languages than english too.
- to3m 12y agoOr if you're right-handed.
- Cyphus 12y agoWhat do you mean? WASD on a Dvorak keyboard is awkward no matter which hand you use.
- Raphmedia 12y agoThe arrows are generally used with the left hand anyway since the right hand is on the mouse. There is I JKL that is used the the left handed people I believe.
- kiiski 12y agoDon't left handed people usually keep the mouse on the left side of the keyboard? I've seen some people do that at least.
- Raphmedia 12y agoSome do, but not all. Most mouse ergonomics are made to be right handed, and since learning the mouse & keyboard is a new an alien concept for both left and right handed people, they can simply learn it with their dominant hand on the keyboard. I wonder if that would make them better at micromanaging RTS games with keyboard shortcuts vs. shooting with the mouse in FPS.
- artursapek 12y ago"only on HN"
- pokstad 12y agoPeople with Dvorak keyboards aren't allowed to play this game.
- kreldjarn 12y agoNot true. If you want to challenge yourself you can play with increasingly obscure keyboard layouts. It's a feature!
- sillysaurus3 12y agoFinal boss: left ctrl, numpad 3, backslash, and ]. Better use your nose!
- stronglikedan 12y agoDvorak users love a challenge; That's why they're Dvorak users.
- nightpool 12y agoPR'd https://github.com/kreldjarn/TRON/pull/13 https://github.com/kreldjarn/TRON/pull/13 EDIT: and pulled! Wow that was fast
- kreldjarn 12y agoThanks for the PR!