Search Perform an advanced search query SOFTPEDIA
 
SOFTPEDIA
Updated one minute ago
HomeSubmit a program for being reviewedAdvertise on our websiteGet help on surfing our websitesSend us your feedbackGet information about our XML/RSS backend and how to use itBrowse the news archiveVisit our discussion forumVizitati forumul in limba romana



KLIP
  1. HOME
  2. SCIENCE
  3. TECHNOLOGY
  4. WEBMASTER
  5. SECURITY
  6. MICROSOFT
  7. LINUX
  8. APPLE
  9. GAMES
  10. TELECOMS
  11. REVIEWS
  12. LIFE & STYLE
  13. EDITORIALS
  14. INTERVIEWS
  15. RSS
Welcome!
Hello, Guest

Login if you have a Softpedia.com account.

Otherwise, register for one.

HOW TO

How Video Game Light Guns Work

- Video game controllers

By: Gabriel Gache, Science News Editor

I'm sure most of us, if not all, had or still have a home video game, or went to play arcade games at some point in time. You might have noticed a remote-like device resembling a firearm or a pistol that can be used to shoot objects displayed on a TV screen, generally referred to as a video game light gun.
The purpose of this article is to briefly explain the basic principle on which the video game light gun works.

Inside the light gun, you can find an electronic circuit connected to a light detector placed inside the barrel. The light detector can be either a photodiode or a phototransistor, depending on the specifications of the manufacturer. As one triggers the light gun, the photodetector receives a light signal from the screen, so that the computer controlling the game can evaluate whether or not the gun is pointing towards the designated target.

Television screens, similarly to most electronic displays, alight objects in accordance to the horizontal and vertical retrace signals received from the screens driver, therefore the computer knows exactly the position of a particular object on the display. Nonetheless, this is not enough to make the video game light guns work properly, due to unknown relative position of the gun. In order to simplify the detection technique, the computer uses a simple signal filtering system.

In fact, there are two techniques used to do that, again depending on the specifications established by the manufacturer.

The first one uses an image rendering sequence relying on introducing frames of black screen images and the target objects. By synchronizing the image rendering with the signals received from the light gun, the computer controlling the game measures, with the help of the photodetector, the luminosity of the display when the gun is triggered. If the luminosity is low, it means that the gun is pointed towards an area of the screen other than were the target object is located, and scores a miss.

However, if the luminosity is high, then the gun is pointed towards the target object, thus when the gun is triggered the computer scores a hit.

The second detection technique is slightly more complicated, albeit it works roughly on the same principle. The computer first inputs a command to make the whole screen black. Then, it immediately renders the whole screen white. Although unnoticeable to the human eye, it takes a certain amount of time for the electron beam to trace the whole screen and paint it white. By comparing the reading received from the photodetector with the amount of time between the moments when the black screen starts to turn white, the computer can estimate towards what direction of the screen the gun is pointing.

Again, if the rendered image corresponds to the direction of the gun, it will score a hit.


MORE RELATED ARTICLES: Top 33 Volcanoes Baby Stars Found in Galactic Backyard Some Facts About Psychoanalysis Top 10 Bacterial Infections A Plant Apartheid All Languages Evolved from only One
 
Comments | Link here | Subscribe
Print | Send to friend
Today's News | Yesterday's News

Search:


21st April 2008, 09:54 GMT | Copyright (c) 2008 Softpedia | Contact:
Read by 473 user(s) | Rating: | 3 vote(s) so far | Cast your vote:
How Video Game Light Guns Work - USER OPINIONS




We are sorry, there are no opinions available for this article.






SHARE YOUR OPINION ABOUT How Video Game Light Guns Work

Since you are not logged on, your comments will have to be approved before being displayed.
Click here to login, or register.
Your Name:
Your Email:
Type in the result:
Your Opinion:
 


DO YOU WANT TO CONTACT US?  

If you have some comments or you want to send us some information you can send us an email directly to .
You can use the form below for the same purpose.
Your full name: (at least 3 characters)
Your email address: (at least 5 characters)
Message subject: (at least 5 characters)
Message text:
(at least 10 characters)
Type in the result:
 
 



© 2001 - 2008 Softpedia. All rights reserved.
Softpedia™ and Softpedia™ logo are registered trademarks of SoftNews NET SRL.
Copyright Information | Privacy Policy | Terms of Use | Contact Softpedia | Update your software | Archive