Re:A chill driving game with procedurally generate scenic la...
by mlok on Sunday October 23, 2022 @04:37PM
(#33310046)
Very nice creation !
But sad that AZERTY keyboards are often forgotten in mini games. The game is not really playable outside QWERTY keyboards.
(Arrow keys would be a good alternative too)
[ Parent
| on HN ]
Re:A chill driving game with procedurally generate scenic la...
by marssaxman on Sunday October 23, 2022 @04:41PM
(#33310071)
I had the same concern, but it turns out the arrow keys already work! They're just not mentioned.
Re:A chill driving game with procedurally generate scenic la...
by anslo on Sunday October 23, 2022 @04:54PM
(#33310170)
Rookie error on my part, apologies - I was needlessly agonising over having to make string comparisons in my input controller. This week I'll be refactoring it to use a map, and be adding some UI for remapping.
Re:A chill driving game with procedurally generate scenic la...
by meheleventyone on Monday October 24, 2022 @04:57AM
(#33314342)
You can also map to physical key codes: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEve...