3 ms·
As a Dvorak user, all of these JS games with their hardcoded keys are impossible to play without changing my layout back to Qwerty. 1,2,3 + arrow keys would be
by brl 16y ago
As a Dvorak user, all of these JS games with their hardcoded keys are impossible to play without changing my layout back to Qwerty.
1,2,3 + arrow keys would be a better choice for sure.
- cryptoz 16y agoIt's tough to use the arrow keys for JavaScript games. If you bind events to those keys, the web browser won't care and still use those keys to scroll. It's bad design since then you'll be scrolling and manipulating the game at the same time. The reason that this isn't a problem for Flash is because Flash grabs and steals all keyboard and mouse focus away from the browser; not something anyone should re-implement in JavaScript.
- araneae 16y agoYup! I do most of my browsing with keys, and I can't tell you how many times I have hit CTRL+W repeatedly before realizing flash had the focus. Eww.