Light gun

Last updated
The NES Zapper, Nintendo's early light gun Nintendo-Entertainment-System-NES-Zapper-Orange-L.jpg
The NES Zapper, Nintendo's early light gun
The Light Phaser for the Sega Master System SMS-Light-Phaser.jpg
The Light Phaser for the Sega Master System
The Atari, Inc XG-1 Light Gun Atari XG-1 light gun.jpg
The Atari, Inc XG-1 Light Gun

A light gun is a pointing device for computers and a control device for arcade and video games, typically shaped to resemble a pistol. In aviation and shipping, it can also be a directional signal lamp.

Contents

Modern screen-based light guns work by building an optical sensor into the gun, which receives its input from the light emitted by on-screen target(s). The first device of this type, the light pen, was used on the MIT Whirlwind computer.

The light gun and its ancestor the light pen are now rarely used as pointing devices due largely to the popularity of the mouse and changes in monitor display technology—conventional light guns work only with CRT monitors.[ citation needed ]

Early history

The first light guns appeared in the 1930s, following the development of light-sensing vacuum tubes. It was not long before the technology began appearing in arcade shooting games, beginning with the Seeburg Ray-O-Lite in 1936. These early light gun games, like modern laser tag, used small targets (usually moving) onto which a light-sensing tube was mounted; the player used a gun (usually a rifle) that emitted a beam of light when the trigger was pulled. If the beam struck the target, a "hit" was scored.

These games evolved throughout subsequent decades, culminating in Sega's Periscope , the company's first successful game released in 1966, which required the player to target cardboard ships. [1] Periscope was an early electro-mechanical game, [2] and the first arcade game to cost a quarter per play. [3] Sega's 1969 game Missile featured electronic sound and a moving film strip to represent the targets on a projection screen, [4] and their 1972 game Killer Shark featured a mounted light gun that shot at targets whose movement and reactions were displayed using back image projection onto a screen. [5] Nintendo released the Beam Gun in 1970 and the Laser Clay Shooting System in 1973, [6] followed in 1974 by the arcade game Wild Gunman , which used video projection to display the target on the screen. [7] In 1975, Sega released the early co-operative light gun shooters Balloon Gun [8] and Bullet Mark. [9]

Use in video games

The video game light gun is typically modeled on a ballistic weapon (usually a pistol) and is used for targeting objects on a video screen. With force feedback, the light gun can also simulate the recoil of the weapon. The first gun for a home console was in fact a big rifle, the Magnavox Odyssey's Shooting Gallery, which looked very lifelike and even needed to be "cocked" after each shot.

Light guns are very popular in arcade games, but had not caught on as well in the home video game console market until after the Nintendo Entertainment System (NES), Sega Master System (SMS), Mega Drive/Genesis, Super Nintendo Entertainment System (SNES) systems and Atari XEGS. Many home 'Pong' systems of the 1970s included a pistol or gun for shooting simple targets on screen. Nintendo's NES Zapper for the NES is the most popular example of the light gun, and Duck Hunt its most popular game.

Traditional light guns cannot be used on LCD and plasma screens, and have problems with projection screens.

There are also light guns for Sega Saturn, PlayStation and several other console and arcade systems. Recent light gun video games include Resident Evil: The Umbrella Chronicles , Time Crisis 4 , Virtua Cop 3 , and The House of the Dead: Overkill .

In 2007, Nintendo released the Wii Zapper for the Wii, a peripheral which is actually a plastic shell that houses both the Wii Remote and nunchuk for gun-style video games. While it does not contain any traditional light gun technology, the peripheral makes use of the Wii Remote's built-in infrared tracking system to shoot targets that correspond on-screen. Its name is a reference to the classic NES Zapper for the Nintendo Entertainment System. Sony has also released attachments that house the PlayStation Move motion controller in the form of a pistol and rifle, the latter named the Sharp Shooter.

Namco's GunCon 3 also uses an infrared optical sensor system similar to the Wii Remote.

Design

The "light gun" is named because it uses light as its method of detecting where on screen the user is targeting. The name leads one to believe that the gun itself emits a beam of light, but in fact most light guns actually receive light through a photodiode in the gun barrel.

There are two versions of this technique that are commonly used, but the concept is the same: when the trigger of the gun is pulled, the screen is blanked out to black, and the diode begins reception. All or part of the screen is painted white in a way that allows the computer to judge where the gun is pointing, based on when the diode detects light. The user of the light gun notices little or nothing, because the period in which the screen is blank is usually only a fraction of a second (see persistence of vision ).

Sequential targets

The first detection method, used by the Zapper, involves drawing each target sequentially in white light after the screen blacks out. The computer knows that if the diode detects light as it is drawing a square (or after the screen refreshes), then that is the target at which the gun is pointed. Essentially, the diode tells the computer whether or not the player hit something, and for n objects, the sequence of the drawing of the targets tell the computer which target the player hit after 1 + ceil(log2(n)) refreshes (one refresh to determine if any target at all was hit and ceil(log2(n)) to do a binary search for the object that was hit). [10]

A side effect of this is that on poorly designed games, often a player can point the gun at a light bulb or other bright light source, pull the trigger, and cause the system to falsely detect a hit on the first target every time. Better games account for this either by detecting if all targets appear to match or by displaying a black screen and verifying that no targets match. [10]

Cathode ray timing

The black GunCon made by Namco for the PlayStation. Namco-GunCon-PS1.jpg
The black GunCon made by Namco for the PlayStation.
The blue and pink Konami Justifiers made for the Sega Genesis. Konami-Justifiers-Genesis-Set.jpg
The blue and pink Konami Justifiers made for the Sega Genesis.

The second method, used by the Super Nintendo Entertainment System's Super Scope and computer light pens, is more elaborate and more accurate.

The trick to this method lies in the nature of the cathode ray tube inside the video monitor (CRTs were the only affordable TV monitors in the late 1980s and early 1990s, when this method was popularized). The screen is drawn by a scanning electron beam that travels across the screen starting at the top until it hits the end, and then moves down to update the next line. This is done repeatedly until the entire screen is drawn, and appears instantaneous to the human eye as it is done very quickly.

When the player pulls the trigger, the computer (often assisted by the display circuitry) times how long it takes the electron beam to excite the phosphor at the location at which the gun is pointed. The light gun sends a signal after sensing the sudden small change in brightness of a point on the screen when the electron gun refreshes that spot. The computer then calculates the targeted position based on the monitor's horizontal refresh rate (the fixed amount of time it takes the beam to get from the left to right side of the screen). Either the computer provides a time base for the horizontal refresh rate through the controller's connector (as in the Super Scope), or the gun reads the composite video signal through a T-connector on the A/V cable (as in the GunCon 2). Once the computer knows where the gun is pointed, it can tell through collision detection if it coincides with the target or not.

Many guns of this type (including the Super Scope) ignore red light, as red phosphors have a much slower rate of decay than green or blue phosphors. As a result, some (but not all) games brighten the entire screen's green/blue pixels somewhat when the trigger is pulled in order to get a more reliable fix on the position.

Display timing is not possible with plasma, LCD, and DLP monitors, since they do not have an "off" state between refreshes. Their digital signal processing electronics also may introduce a nontrivial lag between the signal input and display output, which is not predictable because it varies between monitor models and brands and even between mode settings of a single monitor. A lag which is not very significant for player feedback may be enough to completely destroy the accuracy of a display-timing based light gun system.

Infrared emitters

A new method was developed to compensate for display technologies other than CRT. It relies on one or several infrared light emitters placed near the screen, and one IR sensor on the muzzle of the gun. When the trigger is pressed, the gun sends the intensity of the IR beam it detects. Since this intensity depends upon both distance and relative angle to the screen, angle sensors are located in the gun. This way a trigonometric equation system is solved, and the muzzle's 3D position relative to the screen is calculated. Then, by projecting the muzzle on the screen with the measured angles the impact point is determined. An early example of this technology (though not using IR) can be seen in the NES Power Glove Accessory, which used three ultrasonic sensors serving the same function as the IR emitters used in some lightguns.

A simpler variant is commonly used in arcades, where there are no angle detectors but 4 IR sensors. However, this can prove inaccurate when shooting from certain distances and angles, since the calculation of angles and 3D position has a larger margin of error.

Other variants include 3 or more emitters with different infrared wavelengths and the same number of sensors. With this method and proper calibration three or more relative angles are obtained, thus not needing angle detectors to position the gun.

Sometimes, the sensors are placed around the screen and the emitter on the gun, but calculations are similar.

The Wii Remote uses an infrared video camera in the handheld controller, rather than a simple sensor. [11]

This family of methods are used for the Wii Remote, GunCon 3, [12] and modern arcade light gun games.

The downside of this method is that it's not as accurate as a traditional light gun. [13] The additional IR image processing results in lag or "cursor drift", i.e. when quickly sweeping the light gun across the screen the crosshair will seem to drag slightly behind where the light gun is actually pointing.

Image capture

When the user pulls the trigger the screen is replaced for a split-second with a seemingly random display of black and white pixels, or groups of pixels (blocks). The light gun contains a fine-resolution but low pixel count digital camera with a very narrow field of view. With just a handful of the dot image pixels captured, the gun converts the small image into a binary array which allows the computer to locate the exact position the gun was pointed at. This method is compatible with any screen of any size. The size of the screen and distance to shooter is entered into the gun driver software to determine the dimensions of the random blocks/pixels to best allow rendering on the light gun CCD.

Rectangular positioning

Similar to image capture, except rectangular positioning disregards any on-screen details and only determines the rectangular outline of the game screen. By determining the size and distortion of the rectangle outline of the screen, it is possible to calculate where exactly the light gun is pointing. This method was first introduced by the Sinden Lightgun [14] . The light from the LCD TV or screen is used as reference point. Optionally, a thin rectangular border can be added to the display content, for games with a dark graphics theme.

An advantage of this method is that the size and distortion of the rectangle screen outline can also be used to determine the position and angle of the gun relative to the screen. Theoretically this can be used to create a 3D tunnel effect, by moving the gun around the screen to hide behind scenery or peek around corners.

Multiplayer

A game that uses more than one gun reads both triggers continuously and then, when one player pulls a gun's trigger, the game reads that gun until it knows which object was hit.

Positional guns

Positional guns are fairly common in video arcades. A positional gun is a gun mounted to the cabinet on a swivel that allows the player to aim the gun. These are often confused with light guns but work quite differently. These guns may not be removed from the cabinet like their optical counterparts, which are tethered and stored in a mounted holster. They are typically more expensive initially but easier to maintain and repair. Games that use positional guns include Silent Scope , [15] the arcade version of Resident Evil Survivor 2 , Space Gun , [16] Revolution X , [17] and Terminator 2: Judgment Day . Console ports sometimes use light guns.

A positional gun is essentially an analog joystick that records the position of the gun to determine where the player is aiming on the screen. [18] [19] The gun must be calibrated, which usually happens after powering up. Early examples of a positional gun include Sega's Sea Devil in 1972, [20] Taito's Attack in 1976 [21] and Cross Fire in 1977, [22] and Nintendo's Battle Shark in 1978. [23] Some games, however, have mounted optical guns, such as Exidy's Crossbow .

Light gun models

See also

Related Research Articles

<i>Duck Hunt</i> Video game

Duck Hunt is a 1984 light gun shooter video game developed and published by Nintendo for the Nintendo Entertainment System (NES) video game console. The game was first released in Japan in April 1984 and was released as a launch game for the NES in North America in October 1985, with it also releasing in Europe two years later.

Joystick Control lever used in aircraft and video games

A joystick is an input device consisting of a stick that pivots on a base and reports its angle or direction to the device it is controlling. A joystick, also known as the control column, is the principal control device in the cockpit of many civilian and military aircraft, either as a center stick or side-stick. It often has supplementary switches to control various aspects of the aircraft's flight.

A game controller, gaming controller, or simply controller, is an input device used with video games or entertainment systems to provide input to a video game, typically to control an object or character in the game. Before the seventh generation of video game consoles, plugging in a controller into one of a console's controller ports were the primary means of using a game controller, although since then they have been replaced by wireless controllers, which do not require controller ports on the console but are battery-powered. USB game controllers could also be connected to a computer with a USB port. Input devices that have been classified as game controllers include keyboards, mouses, gamepads, joysticks, etc. Special purpose devices, such as steering wheels for driving games and light guns for shooting games, are also game controllers.

NES Zapper Video game light gun accessory

The NES Zapper, also known as The Light Gun or Beam Gun in Japan, is an electronic light gun accessory for the Nintendo Entertainment System (NES) and the Japanese Famicom. It was released in Japan for the Famicom on February 18, 1984 and alongside the launch of the NES in North America in October 1985.

A sports game is a video game genre that simulates the practice of sports. Most sports have been recreated with a game, including team sports, track and field, extreme sports and combat sports. Some games emphasize actually playing the sport, whilst others emphasize strategy and sport management. Some, such as Need for Speed, Arch Rivals and Punch-Out!!, satirize the sport for comic effect. This genre has been popular throughout the history of video games and is competitive, just like real-world sports. A number of game series feature the names and characteristics of real teams and players, and are updated annually to reflect real-world changes. Sports genre is one of the oldest genres in gaming history.

Super Scope light gun

The Super Scope, sold as the Nintendo Scope in Europe and Australia, is a first party light gun peripheral for the Super Nintendo Entertainment System. The successor to the NES Zapper, the Super Scope was released in North America and the PAL region in 1992, followed by a limited release in Japan in 1993 due to a lack of consumer demand. The peripheral consists of two devices: the wireless light gun itself, called the Transmitter, and a Receiver that connects to the second controller port of the Super NES console. The Transmitter has two action buttons, a pause button, a power switch and is powered by six AA batteries.

<i>Hogans Alley</i> (video game) 1984 video game by Nintendo

Hogan's Alley is a 1984 video game by Nintendo. It was one of the first games to use a light gun as an input device. The game presents players with "cardboard cut-outs" of gangsters and innocent civilians. The player must shoot the gangs and spare the innocent people.

<i>Wild Gunman</i> video game

Wild Gunman is a light gun shooter game created by Nintendo. Originally created as an electro-mechanical arcade game in 1974 by Gunpei Yokoi, it was adapted to a video game format on an arcade cabinet and light gun. It was released in 1985 as a launch game for the Nintendo Entertainment System with the Zapper light gun.

Menacer Video game accessory

The Menacer is a light gun peripheral released by Sega in 1992 for its Sega Genesis and Sega CD video game consoles. It was created in response to Nintendo's Super Scope and as Sega's successor to the Master System Light Phaser. The gun is built from three detachable parts, and communicates with the television via an infrared sensor. The Menacer was announced at the May 1992 Consumer Electronics Show in Chicago and was released later that year. The gun was bundled with a pack-in six-game cartridge of mostly shooting gallery games. Sega also released a Menacer bundle with Terminator 2: The Arcade Game.

Wii Remote controller for the Wii video game console

The Wii Remote, also known colloquially as the Wiimote, is the primary game controller for Nintendo's Wii home video game console. An essential capability of the Wii Remote is its motion sensing capability, which allows the user to interact with and manipulate items on screen via gesture recognition and pointing, using accelerometer and optical sensor technology. It is expandable by adding attachments. The attachment bundled with the Wii console is the Nunchuk, which complements the Wii Remote by providing functions similar to those in gamepad controllers. Some other attachments include the Classic Controller, Wii Zapper, and the Wii Wheel, originally used for the Mario Kart Wii racing video game.

Side-scrolling video game Video game genre

A side-scrolling game or side-scroller is a video game in which the gameplay action is viewed from a side-view camera angle, and as the player's character moves left or right, the screen scrolls with them. These games make use of scrolling computer display technology. The move from single-screen or flip-screen graphics to scrolling graphics, during the golden age of video arcade games and during third-generation consoles, would prove to be a pivotal leap in game design, comparable to the move to 3D graphics during the fifth generation. Although side-scrolling games have been supplanted by 3D games, they continue to be produced.

<i>Ghost Squad</i> (video game) video game

Ghost Squad and Ghost Squad: Evolution are light gun rail shooter arcade games developed and published by Sega. A home version of the original Ghost Squad was developed for Nintendo's Wii game console. A sequel, Operation GHOST, was released in arcades in 2012.

Wii Zapper controller for the Nintendo Wii game console

The Wii Zapper is a gun shell peripheral for the Wii Remote. The name is a reference to the NES Zapper light gun for the Nintendo Entertainment System. It is mainly used to enhance controls for shooter games, including light gun shooters, first-person shooters, and third-person shooters.

Motion controller type of game controller that uses accelerometers or other sensors

In video games and entertainment systems, a motion controller is a type of game controller that uses accelerometers or other sensors to track motion and provide input.

<i>Qwak!</i> 1974 video game

Qwak! is a single-player duck hunting light gun shooter arcade game developed by Atari, Inc. and released in November 1974. In the game, ducks fly one at a time across the screen, and the player shoots at them using a light gun attached to the game cabinet. The player gets three shots per duck; ducks change direction away from missed shots and fall to the bottom of the screen when hit. A screen overlay adds images of reeds and a tree branch, and an image of a duck is added to a row at the top of the screen whenever a duck is hit. Games continue until a time limit, set by the machine operator, is reached.

Light gun shooter video game genre

Light gun shooter, also called light gun game or simply gun game, is a shooter video game genre in which the primary design element is aiming and shooting with a gun-shaped controller. Light gun shooters revolve around the protagonist shooting targets, either antagonists or inanimate objects. Light gun shooters generally feature action or horror themes and some may employ a humorous, parodic treatment of these conventions. These games typically feature "on-rails" movement, which gives the player control only over aiming; the protagonist's other movements are determined by the game. Games featuring this device are sometimes termed "rail shooters", though this term is also applied to games of other genres in which "on-rails" movement is a feature. Some, particularly later, games give the player greater control over movement and in still others the protagonist does not move at all.

<i>Freedom Force</i> (video game) 1988 video game

Freedom Force is a video game created by Sunsoft and released in 1988 for the Nintendo Entertainment System. In the game, the player takes the role of a sharpshooter in a counter-terrorist organization. Freedom Force was also one of the few NES games to require the NES Zapper light gun accessory. The game was released in arcades on the Nintendo Vs. System as Vs. Freedom Force.

<i>Line of Fire</i> (video game) 1989 video game

Line of Fire is a shooting video game, played from a first person perspective, and developed by Sega. The cabinet features two positional guns, and a design which allows the player(s) to sit down while playing the game. It was first released in arcades in 1989 before being converted to home computers and published by U.S. Gold in 1990. It was released for the Master System in 1991; however, the style of the game was changed to that of an overhead scrolling shooter.

<i>Gunblade NY</i>

Gunblade NY is a light gun shooting game developed by Sega for the Model 2 arcade machine and was released in 1995 in North America and 1996 in Japan. The game was re-released alongside L.A. Machine Guns for the Wii in 2010 as part of the Sega Arcade Hits Pack.

References

  1. Ashcraft, Brian, (2008) Arcade Mania! The Turbo Charged World of Japan's Game Centers, p. 133, Kodansha International
  2. Periscope at the Killer List of Videogames
  3. Steven L. Kent (2000), The First Quarter: A 25-Year History of Video Games, p. 83, BWD Press, ISBN   0-9704755-0-0
  4. Missile at the Killer List of Videogames
  5. Killer Shark at the Killer List of Videogames
  6. History of Nintendo – Toys & Arcades (1969–1982) (archived), Nintendo Land
  7. Wild Gunman (1974) at the Killer List of Videogames
  8. Balloon Gun at the Killer List of Videogames
  9. Bullet Mark at the Killer List of Videogames
  10. 1 2 Teger, Daniel; Rogowski, Scott; Dinerman, Julie; Ramkishun, Kevin (May 13, 2011). "DuckFeed: An Embedded Take on Duck Hunt Columbia University, Spring 2011 CSEE 4840: Embedded System Design" (PDF). p. 5. Archived from the original (PDF) on June 23, 2018. Retrieved Jan 21, 2015.
  11. "Wiimote". WiiBrew. 2011-04-26. Retrieved 2011-06-01.
  12. Brian Ashcraft (2007-06-13). "Reload: How The Time Crisis 4 Light Gun Works". Kotaku.com. Archived from the original on 2010-02-12. Retrieved 2011-06-01.
  13. Yin-Poole, Wesley. "Resident Evil: Umbrella Chronicles Review". videogamer.com.
  14. "Sinden Lightgun". Lightgun Gamer. Retrieved 12 March 2019.
  15. Silent Scope at the Killer List of Videogames
  16. Space Gun at the Killer List of Videogames
  17. Revolution X at the Killer List of Videogames
  18. Morgan McGuire & Odest Chadwicke Jenkins (2009), Creating Games: Mechanics, Content, and Technology, A K Peters, Ltd., p. 408, ISBN   1-56881-305-8 , retrieved 2011-04-03, Light guns, such as the NES Zapper or those used in the House of the Dead series, are distinctly different from positional guns used by arcade games such as SEGA's Gunblade NY. ... Light guns differ from positional guns, such as in Gunblade NY (bottom), that are essentially analog joysticks. ... Positional guns are essentially analog sticks mounted in a fixed location with respect to the screen. Light guns, in contrast, have no fixed a priori relationship with a display.
  19. Yo-Sung Ho & Hyoung Joong Kim (November 13–16, 2005), Advances in Multimedia Information Processing-PCM 2005: 6th Pacific-Rim Conference on Multimedia, Jeju Island, Korea, Springer Science & Business, p. 688, ISBN   3-540-30040-6 , retrieved 2011-04-03, The two routes to conventional gun control are light guns and positional guns. Light guns are the most common for video game systems of any type. They work optically with screen and do not keep track of location on the screen until the gun is fired. When the gun is fired, the screen blanks for a moment, and the optics in the gun register where on the screen the gun is aimed. That information is sent to the computer, which registers the shot. ... Positional guns are mounted stationary on the arcade cabinet with the ability to aim left/right and up/down. They function much like joysticks, which maintain a known location on screen at all times and register the current location when fired.
  20. Sea Devil at the Killer List of Videogames
  21. Attack at the Killer List of Videogames
  22. Cross Fire at the Killer List of Videogames
  23. Battle Shark at the Killer List of Videogames
  24. "Binatone TV Master MK 6 (model n° 01 / 4907)". www.old-computers.com. Archived from the original on 2017-10-04. Retrieved 2015-09-19.