Google Answers Logo
View Question
 
Q: Nintendo Light Gun ( Answered 5 out of 5 stars,   1 Comment )
Question  
Subject: Nintendo Light Gun
Category: Computers > Games
Asked by: bushy3000-ga
List Price: $5.00
Posted: 18 Mar 2003 10:53 PST
Expires: 17 Apr 2003 11:53 PDT
Question ID: 177782
How does the NES light gun work?
Answer  
Subject: Re: Nintendo Light Gun
Answered By: robertskelton-ga on 18 Mar 2003 11:40 PST
Rated:5 out of 5 stars
 
Hi there,

Also known as the Zapper Gun, the Nintendo Light Gun works the same as
any other light gun or light pen. Contrary to the expectations of
children, it doesn't actually fire anything! Here is the three most
concise explanations I found:

The light gun works by closing measuring the timing of when the pixel
that it points at is drawn. The television draws the screen line by
line, using an electron gun that sweeps from left to right for each
line. The light gun is very sensitive to changes in brightness, so
when the trigger is pulled, it waits until it detects that the
electron gun has lit the pixel it is pointing at, and based on when
that took place, figures out where the light gun was in the drawing
process, and then what pixel it was pointing at.
http://hcs.harvard.edu/~osserman/devel/specials/techfaq/faq.html#GUN1

Here's second:

Light Gun
How does it know what you are aiming at?  Since the games console is
responsible for drawing the screen it always knows where the raster
line is that draws the screen, it starts at the top left and draws the
screen from left to right and top to bottom (it takes 1/60th a second
to draw the screen).  The light gun points at the screen and waits for
the raster line to cross the path.  As soon as the light gun detects
the change from a dark, unrefreshed pixel on the screen to a light,
newly refreshed pixel.  The gun informs the console which in turn can
then work out the coordinates of where the raster line would have been
at that point.  If there is a target at those coordinates then a hit
is registered.
http://www.anangelcame.co.uk/j-web/glossary/glossary.htm

And a third - follow the link for a good technical explanation:

When the photocell senses the "beam" scanning across the face of the
screen, a signal is sent to the CRT controller (chip) which causes it
to record the current X,Y position of the video signal that *it* is
generating. Depending on sophistication desired, the software can
capture the limits of this "region" (i.e. which scan lines register a
"hit" and which positions on each scan line) and then determine the
"center" of that region.
http://www.epanorama.net/documents/pc/lightpen.html

I also stumbled across some pictures of inside the gun:
http://www.watershedonline.ca/community/personal/Joel/NES-Article-Light-Gun.shtml


Search strategy: "light gun work"


Best wishes,
robertskelton-ga
bushy3000-ga rated this answer:5 out of 5 stars
Very quick and complete response, although I'm still trying to get my
head round what it actually means!

Comments  
Subject: Re: Nintendo Light Gun
From: alan_dershowitz-ga on 19 Mar 2003 15:02 PST
 
Check out HTTP://www.wikipedia.com and do a search for "light gun".
there is an excellent article there that describes pretty much every
facet of how light guns work, including alogorithms, techniques, etc.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy