3 ms·
I wrote a shoot 'em up for PyWeek and I got a report from one of the judges of the challenge saying the controls didn't work very well. I didn't know what was g
by reidrac 13y ago
I wrote a shoot 'em up for PyWeek and I got a report from one of the judges of the challenge saying the controls didn't work very well. I didn't know what was going on at first, because looking at the code it was "perfect", but turns out using the arrow keys for direction and space for shooting was a bad idea because a diagonal movement (up and left) when shooting won't work in some keyboards.
Since then I use z for shooting and problem solved :) Avoid three keys combinations in the same area of the keyboard and it will be fine.
- couchand 13y agoArrows and space are the same area of the keyboard?
- reidrac 13y agoIn my keyboard (an ultra compact keyboard; and apparently in that judge's keyboard), they are. I didn't know about "keyboard ghosting", but with z (or x) and the arrows it doesn't happen, so I assumed it was because the space key is close to the arrows and because some internals of the keyboard it can't register three keys down at the same time in the same area (but the arrow keys and z works just fine).
- Perseids 13y agoJust a note from the non US world: Please have such keys customizable. z is an especially awkward choice, because with qwertz it is between the t and u and thus far from all the other keys you might use for your gameplay.