Re:Show HN: 3D first person game rendered in CSS/HTML
by pantelisk on Friday August 28, 2020 @01:57PM
(#24307965)
Woaah.. this never occurred to me. Thank you, for the suggestion. Didn't know about "KeyboardEvent.code". And of course.. arrowkeys, kinda ashamed I didn't think of that!
[ Parent
| on HN ]
Re:Show HN: 3D first person game rendered in CSS/HTML
by moron4hire on Friday August 28, 2020 @03:36PM
(#24309055)
`KeyboardEvent.code` used to be the only way we had to read key events in JS. They `key` field didn't come out until about 5 years ago.