Re:Andromeda Invaders: A 1980s-arcade-style game using HTML5...
by lasagna_coder on Monday February 14, 2022 @02:36PM
(#30337091)
Web Serial API would also mean one could create an Atari-style paddle controller to go with this game, kind of like this project: https://github.com/drohen/paddle-game
[ Parent
| on HN ]
Re:Andromeda Invaders: A 1980s-arcade-style game using HTML5...
by qbasic_forever on Monday February 14, 2022 @04:48PM
(#30338855)
If you're building something with a microcontroller, turn it into a USB HID gamepad device with an analog axis or digital (button) presses and then it should work with any browser right now: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API...