Light guns
A light gun is not a pointing device with a cursor. It is a thing you aim at a television, and RetroXR treats it that way: the gun casts a ray from its barrel at the screen every frame and reports where it lands.
The gun
Section titled “The gun”Setting one up
Section titled “Setting one up”-
Spawn a Ray Gun from
SPAWN→ Controllers. -
Plug its lead into one of the machine’s controller ports — the same cable and plug a controller uses.
-
Pick it up and aim at the television.
It only reports while it is held and plugged in. A gun lying on the desk is not aiming at anything.
The controls
Section titled “The controls”| Your VR controller | Light gun |
|---|---|
| Trigger | Fire |
| A / X button | Aux A |
| B / Y button | Aux B |
| Thumbstick click | Start |
| Thumbstick | The gun’s d-pad |
| Grip | Unassigned by default |
All of these are rebindable — see setting up your controls.
Aiming, and shooting off-screen
Section titled “Aiming, and shooting off-screen”Because the gun raycasts at the actual screen, aiming works the way it did: point at the thing, pull the trigger. There is no cursor to chase and no sensitivity to tune.
Games that used a light gun almost always need you to shoot off-screen as well — reloading in Duck Hunt’s successors, for instance. Point away from the television and fire; RetroXR reports that as an off-screen shot, which is exactly what the game expects.
The laser dot
Section titled “The laser dot”There is an optional aim indicator — a dot on the screen showing where the barrel is pointing. Real light guns had no such thing, so it is there as an aid rather than as authenticity, and it can be turned off.
On desktop
Section titled “On desktop”Without a headset the gun snaps to the lower-right of the screen like an FPS weapon, and aiming uses the camera’s centre ray, so the crosshair always matches where the gun is pointing.
- Left-click — fire.
Ctrl+ Left-click — drop it. A plain click fires instead, which is why the FPS-snapped objects need the modifier.
See desktop controls.
Which systems
Section titled “Which systems”Any system whose core supports the libretro light gun device. The NES is the obvious one, and its Zapper exists as a port device option.