How does the Nintendo Light Gun work? (with video)

Filed Under Video Games on 2006-10-29, 17:05

Ahhh the old Nintendo Zapper, aka the Nintendo gun. An object of great joy and entertainment from our childhood. Something we played with day in and day out, but most of us had no clue how it worked. We’d make up stories about it shooting lasers off the tv or it changing the TV screen so that it knew where the gun was pointing, and accepted one of these highly uneducated explanations and continue with the game of Duck Hunt on the old NES, wondering why we could never shoot that stupid dog when he laughed at us.

Nintendo Zapper Light Gun

In the past I’ve read explanations about how the Zapper actually worked, but that wasn’t enough for me. I wanted to see what was inside that plastic shell. So I found some tiny screwdrivers, exacerbated my mild carpal tunnel removing them and managed to get the thing apart. But before we get to the gory, err geeky pictures, a quick explanation for those that are still curious about how it works.

No, the gun does not shoot light. In fact it receives light. When you pull the trigger, the video game quickly changes the screen, so fast that most people don’t even notice it. By using the alterating of color and white light from the tv, the gun uses a photodiode to detect whether it’s scored a hit or not. So in short, the gun decides if you hit your target, not the Nintendo system. Here’s a brief explanation from Wikipedia:

When the trigger was pulled, the game blanked out the screen with a black background for one frame, then, for one additional frame, drew a solid white rectangle around the sprite the user was supposed to be shooting at. The photodiode at the back of the Zapper would detect these changes in intensity and send a signal to the NES to indicate whether it was over a lit pixel or not. A drop followed by a spike in intensity signaled a hit. Multiple sprites were supported by flashing a solid white rectangle around each potential sprite, one per frame.

So, with that said, here’s the picture of the gun mostly dismantled. Click on the image to jump to flickr to see the parts identified.

And here’s a video of what’s happening inside with that familiar “pang!” when you pull the trigger:
jumpcut movie:Nintendo Zapper Light Gun

Tagged: ,


Comments

  • Mike Goysovich

    This was an imformative article. Sweet!

  • Mike Goysovich

    This was an imformative article. Sweet!

  • mita

    article help me so much
    thanks :)

  • Pingback: Nintendo Light Zapper + Wiimote | Geeked Info

  • http://pinayspeak.com/pinaytest/ BusbyTest

    This article gave me added knowledge.Thanks!

  • Ricardo

    didn't understand how can the gun differenciate between multiple targets. If you have two ducks on screen how the gun knows which duck am i shooting. Do they have different light intensity or something like that?

  • Pingback: Nintendo Light Zapper Collage @ Geeky Tattoos

  • Monica

    I have Same question that Ricardo Posted… how does it works???!!!

  • Brandon

    He explained how it hits multiple targets. So for the first frame (30 frames per second), the system draws a black screen. Then, for the first target, a white box is drawn around it. In the next frame, the next target will have a white box drawn around, and the first target will just be black. So at any point, if the gun is pointing at one of these white boxes, it will register a hit. The nintendo knows which box is hit, because only one box is drawn on the screen at any given time…with all of this happening on the order of milliseconds

  • Byteme

    If it used a frame for each target the game would flicker like made, seek here for your answeres:

    “Most light guns depend upon the way a TV display is actually drawn in one spot at a time–the dot being displayed scans from left to right very fast line by line from top to bottom.”

    “The light gun itself merely has a light sensor “aimed” directly in front. By detecting the timing of the signals it receives, the game console can deduce where it's pointed. (Some calibration is required due to differences in time delays depending upon the exact TV or CRT projector used.)”

    http://arcadecontrols.com/Archives/messages/370…

    In effect, LCD and plasma are all out when it comes to using this tech.

  • Byteme

    LOL…

    I read two more lines down where they say exactly what he said… Nintendo Zapper worked with the white boxes, 1 per target per frame…

    And come to think about it the game really did blink like mad(e)!!!!

    Anyone else remember duck hunt being uncomfortable as hell to play?

  • Byteme

    If it used a frame for each target the game would flicker like made, seek here for your answeres:

    “Most light guns depend upon the way a TV display is actually drawn in one spot at a time–the dot being displayed scans from left to right very fast line by line from top to bottom.”

    “The light gun itself merely has a light sensor “aimed” directly in front. By detecting the timing of the signals it receives, the game console can deduce where it’s pointed. (Some calibration is required due to differences in time delays depending upon the exact TV or CRT projector used.)”

    http://arcadecontrols.com/Archives/messages/37012.html

    In effect, LCD and plasma are all out when it comes to using this tech.

  • Byteme

    LOL…

    I read two more lines down where they say exactly what he said… Nintendo Zapper worked with the white boxes, 1 per target per frame…

    And come to think about it the game really did blink like mad(e)!!!!

    Anyone else remember duck hunt being uncomfortable as hell to play?

  • Pingback: MidiMidis and Delays @ The Relentless Garage, 6.10.10 « The London Scene

  • Sigur_ros100

    you really like your cats, don’t you? you also have several… don’t you?

  • JizzMaster

    JizzMaster:
    Awesome thanks for sharing :)

  • Guest

    O Jesus, son of Mary! Is thy Lord able to send down for us a table spread with food from heaven?

    http://jesussonofmary1432.blogspot.com/

  • Anonymous

    Women are fond of accessories as part of their fashion statement. Interestingly, anything that creates accent to their overall get-up can be an accessory. Accessories are not just about jewels, scarves, ties or belts. gucci bags outlet Even bags can be treated as accessories. Naturally, handbags are used to place things that you want to carry along. But in the world of fashion, you cant just bring any bags when you are into a fashion ride. You have to bring bags that match your clothes. To get this done, though, you need to have fashionable handbags at the same useful ones. In other words, a complete fashionable bag is stylish at the same time practical. gucci outlet online It should have both good designs and functionality. One of the bags that can be used as a fashionable yet practical accessory is the Gucci bags. Gucci bags come in different styles and designs. It is popular not just because of its quality and signature but because of its various fashionable designs and functionality. You can surely use Gucci bags as an accessory to your over all get-up. Its designs are attractive and if you use it as complimentary to your clothing, you will surely belong to the fashion world. One of the most advance Gucci bags is the Gucci Hobo. Just like any Gucci bags, the Gucci Hobo provides revolution to bag designs and functionality. The common style of Gucci Hobo is the crescent shape. Although the shape may give an impression that the Gucci Hobo has smaller space inside, you would be surprise that such Gucci Bags are actually very spacious. You can carry things that cannot be brought when you just bring a purse. cheap coach bag It carries more than make-up kits or mobile phone. With Gucci Hobo, you can carry pocket books, handy lotions and perfumes or even a 5ml size bottled water. And if you are in for more space, you can actually get Gucci Hobo in bigger size. Generally, the Gucci Hobo comes in various colors, materials and designs. Its colors can be earth, metallic and dark colors. If it is not in plain colors, it comes in uniform prints that define Gucci bags. These colors are usually versatile so it goes with any types and colors of clothes. Once you have these Gucci bags, you will certainly come in style. Gucci Canvas Bag The materials of Gucci Hobo are also worth taking note of. Gucci Tote Bags The materials are what make Gucci Bags remarkable. It can be made up of real tapestry, linen and leather. You can be assured that Gucci bags do not tear easily unless done deliberately. Finally, the designs of Gucci Hobo are what make it classy and versatile. Some designs come with a belt or metals attached to it while others are plain that the colors are the only ones that define it. Some noticeable Gucci Hobo designs are braded straps, belted adjustable straps, metals on the body and zipped or latched. Whatever designs colors or material you choose for Gucci Hobo, you re decision will just be based on preference and not necessarily in coordinates as all Gucci Bags are versatile. The Gucci Hobo is all worth the price. It is a good accessory to your overall get-up, contains a lot of handy things that you want to carry and matches with any clothes and colors you wear.

  • justin job
  • Moncler Outlet
  • http://www.cheappursesmall.com/ cheap purses

    The light gun itself merely has a light sensor “aimed” directly in front. By detecting the timing of the signals it receives, the game console can deduce where it’s pointed. (Some calibration is required due to differences in time delays depending upon the exact TV or CRT projector used.)”

  • laueveransweres

    Although there isMoncler but one Moncler Outletspecies of Moncler JackenTiger, properly soMoncler Jackets called, the Tiger-Cats, or those species ofMoncler Jacke the genus Felisin which the tigerine character predominates, may be also treated of under the title before us.

  • http://www.mbtit.net/ MBT outletMBT beach tennis
  • http://www.mbtit.net/ MBT outletMBT beach tennis