Love it - I'm sure our old tube TV still has scratches from when I used to get too excited as a kid and pressed the NES zapper directly against the glass.
I'm also a big fan of re-purposing sprite sheets from old video games - years ago I wrote a little edutainment game called "Aladdin's Mathemagical Flying Carpet" to help teach my little brothers the multiplication tables.
It’s simple enough to explain in a short HN comment.
Essentially, when you fire the gun the screen briefly turns all black except for a small white square where the target was. If the gun barrel sensor detects this bright white light, it means you hit the target. This is also why you reportedly could aim at a light bulb and never miss.
> This is also why you reportedly could aim at a light bulb and never miss.
Except IIRC you couldn't because it displayed a fully black screen then a square, and detected a signal edge that must happen within those few frames, or some other implementation to that effect.
A lightbulb being constant would not work.
LCDs would work but they introduce latency that CRTs did not have, enough so that the check can fail. Even worse if game is emulated. Also I wonder about LCD backlight.
Great job, this is kid tested and approved. My 12yo son, who plays a lot of FPS games discovered how bad he is using the trackpad on my MacBook Pro. It was a lot of fun seeing him as frustrated at the laughing dog as I was in 1986 on my NES.
Nice! This made my day :) Thanks to you and your son for playing my game.
I'm hoping to publish a step by step tutorial soon on how to develop this in JavaScript for anyone interested in learning gamedev.
I usually post my tutorials on my YouTube channel here : https://youtube.com/@jslegenddev
(Plenty of tutorials available already for people interested in JS gamedev)
kaplay is underrated as a game engine imho, especially for teaching. It's intuitive and quite simple, and the web playground has some assets built in so it's immediately ready to go.
I'm also a big fan of re-purposing sprite sheets from old video games - years ago I wrote a little edutainment game called "Aladdin's Mathemagical Flying Carpet" to help teach my little brothers the multiplication tables.
https://specularrealms.com/alad
Any retro gamer will instantly recognize the assets.