Sign in
HomeMechanicsStealth & PerceptionLine-of-Sight Detection
Stealth & Perception

Line-of-Sight Detection

Line-of-sight detection gives enemies a limited field of view, so they can fail to notice a player, and the game starts tracking what its characters know separately from what is true.

Introduced 1981 Origin Castle Wolfenstein Developer Muse Software Direct forks 4 All descendants 7 Later adopters 29

Each guard carries a facing and a cone or radius of vision, and detection becomes a question of geometry: where the player stands, what lies between them, whether the guard has turned. Sightlines break on walls, cover, distance and darkness. Because knowledge is held per character rather than globally, one room can contain several conflicting beliefs about it, and manipulating those beliefs is the actual gameplay.

Muse Software built Castle Wolfenstein in 1981 around guards who could be avoided rather than only fought, a pointed idea when most games modelled opponents as pursuers that always knew the player's position. Memory constraints helped, since a facing and a short check are cheap. Design intent mattered more: a game about escaping a fortress needs enemies whose attention is a resource to be managed.

An entire genre followed, along with a broader principle that combat can be a failure state rather than a goal. Legibility and fragility are the costs. Players cannot see a vision cone unless the game draws one, so detections often feel unfair, and such systems break memorably when a guard spots a body through a wall or forgets a firefight. Modern versions spend heavily on communicating what enemies perceive.

Lineage — traced back to a root

Every mechanic in this dataset resolves to an ancestral chain. This one is 2 steps deep, beginning with Object Collision As Verb in 1962.

Open this lineage in the interactive graph →

Descends directly from

Forked into

Metal Gear Solid formalised cones and alert states, Thief: The Dark Project added measured light and sound as inputs, and Alien: Isolation gave one unscripted hunter its own senses.

Look this mechanic up elsewhere

Also called: line of sight, vision cone, enemy detection

Cite this entry

“Line-of-Sight Detection.” The Genome of Games, an ontology of game mechanics. Origin: Castle Wolfenstein (1981). https://genome-of-games.vercel.app/feature/line-of-sight-detection/