Saturday, October 2, 2010

I WISH I STILL HAD MY LIGHTZAPPER NOW...

      I just caught the following in a comment thread after reading a Cracked.com article on video game Easter Eggs that went undiscovered for, in some cases, ridiculously long times. From drysart on Reddit.com

That's not actually how the light gun works; as evidenced by the fact that if you point it at a light bulb and pull the trigger, every shot is a hit. If it was based on timing the electron scan, as you say, then it'd always be seeing light instantly from the lightbulb when the trigger's pressed, which would lead to the gunfire being registered as being in more or less random place on the screen (whereever the electron scan happened to be at the instant the trigger was pulled), and as a result, would more often than not miss the duck.
It's much more simple than that. The gun detects light. Not color. When you pull the trigger, the screen goes black for a single frame except for the hit region where the duck is, which is white. If the gun sees the light of the white hit region (or the light emitted by the lightbulb you're pointing at instead), it registers a hit. If the gun doesn't see the light, it registers a miss.
Any display where the dark is sufficiently dark and the light is sufficiently light, and the refresh rate is fast enough to show the hit detection frame without bleedover from the previous frame would work. Electron scanning beams not necessary.

How neat it would've been to have figured that out as a kid!

No comments:

Post a Comment