No, you can't just walk from point A to point B. Sorry.

Video game developers don't like wasting space, especially if you're talking about an AdventureGame, {{RPG}}, or sometimes a FirstPersonShooter. Empty rooms with wide open spaces, especially in dungeons, can be both boring to the player and evident of the developer's laziness. So, what's a developer to do? Easy: Put something in the room. Something -- anything -- to make the room feel more "substantial".

Sometimes this can lead to very good things, like creative [[StockVideogamePuzzle puzzles]] or [[SubBoss miniboss]] battles.

Other times, it can take a slightly more unfortunate turn: If the developers actually ''are'' lazy and can't seem to think of anything to add to the room in question, they'll fill it with obstacles, barriers, and line-like walls whose only purpose is to make the player spend more time in the room. It can also happen if the developers ''think'' that these are good things, but they don't actually turn out to be fun.

Another reason may be to delay the player to allow the game more time to load in the background. Staying in control, even if it's to do nothing important, is better than a loading screen, right?

Unfortunately for you, it means that even though that next door is two inches away from you when you enter the room, you're going to have to walk all the way around through the entire damn room in order to get to it. But all hope is not lost: If you're lucky, completing the path once will open a DoorToBefore.

'''Here are some of the forms that the Space Filling Path can take:'''
* '''Ping Pong Path:''' This is the most basic form of the useless space-filling path. It starts out like a normal old path, but then (for some reason) it curves, making you walk ''back''. And ''forth''. And, if the mappers were feeling especially friendly, ''back again''. Usually (if you're lucky), only two or so iterations are necessary.
* '''Velvet Rope:''' A cousin of the Ping Pong Path, except much longer and more complex. It relies on the same back-and-forth pattern, but starts to add corners, spirals, and other shapes to better [[http://en.wikipedia.org/wiki/Space-filling_curve utilize space]]. It can't really be called a ''maze'', since it usually only contains one path that never branches off, in which case it is technically a ''labyrinth''. Anyone with eyes can see how to get through it, but the question is, who has the patience to walk over nearly every tile in the room to get to the exit?
* '''Intestinal Tract:''' A Ping Pong or Velvet Rope path with a twist: Instead of just making you walk farther, it also hurts you in some way. How about the occasional RandomEncounter as you're trekking through the path? Or perhaps the floor damages you with every step? Sounds fun, doesn't it?
* '''Q*Bert Floor:''' You have to step on every tile, usually in one contiguous line without retracing your steps. Like the Velvet Rope, only with no visible boundaries. A brilliant source of GuideDangIt, and if there are enemies in the room that knock you around, it might even become [[ThatOneLevel That One Room]].

Remember, however, that TropesAreNotBad; there are many legitimate uses for this trope, though like any trope it still requires restraint.

In {{FPS}} games smaller space can be made to look larger with a high density of terrain features and cutting short line of sight, which also allows occlusion culling to reduce the rendering load. This also has the benefits of providing shelter and places to hide.

Some maps in RealTimeStrategy games are built this way, in single or multiplayer, to create a long stretch of land to fight over without making a long, skinny map. Also, it creates a more obvious advantage for things like indirect-firing artillery and air transport, both of which can take a shortcut.

This is common in {{RPG}}s, as having a longer path means you have to face more RandomEncounters without increasing how often they appear.

When combined with NothingIsScarier or EmptyRoomPsych a short space filling path can be an effective horror tool, building suspense without exerting player resources. Though as those tropes note, doing this too much or too often will dampen the effect.

SceneryPorn can take the edge off of this, possibly resulting in a BreatherLevel.

See Also: OnlyIdiotsMayPass

----
!!Examples:

[[foldercontrol]]

[[folder:Action Adventure]]
* ''VideoGame/MetroidPrime 2: Echoes'' has a number of rooms where there are two doors, one of which is always blocked by a rotating barrier. To rotate the barrier so you can access the other door, all you have to do is place a Morph Ball Bomb in the slot. Of course, now the barrier is on the first door, so you have to do it AGAIN in order to get back. This gets really, really tedious as the rooms are otherwise completely pointless, and you will generally visit them several times.
* ''DevilMayCry'' 1 and 3 both have examples of this trope. In the first game, there's tentacles trying to get you while in the third game, there literally is an Intestinal Tract.
* ''VideoGame/StarFoxAdventures'' contains an underground maze which, while not difficult to figure out, must be visited multiple times in the course of a playthrough to help pad out the length of the game.
* The Q*Bert Floor is used extensively as puzzles in later handheld ''Zelda'' games.
* The 2-D ''Franchise/TheLegendOfZelda'' games usually have at least one dungeon with a Q*Bert Floor room. Some even have ping-pong paths, but usually averted as getting the Roc's Feather allows you to jump quickly across the path. In particular, the overworld of ''VideoGame/TheLegendOfZeldaALinkToThePast'' has plenty of tree clusters, fences and one way ledge jump off points, among other things, that limit travel pathway options, forcing roundabout routes to nearby destinations.
* This is one of the reasons [[ThatOneLevel the Water Temple]] from ''VideoGame/TheLegendOfZeldaOcarinaOfTime'' gets a lot of hate. Not only do you have to submerge yourself and run (rather slowly at that) through underwater tunnels and resurface, but you also have to constantly [[StockVideoGamePuzzle switch water levels]] at designated checkpoints, each one corresponding to a particular tier. Much BackTracking abounds, especially if you alter the water level incorrectly for the current situation. ''And'' you have to keep going into the item menu to take the Iron Boots on and off. Fortunately, a lot of the things that made the Water Temple so notorious were fixed in the Nintendo3DS remake.
[[/folder]]

[[folder:Fighting]]
* The Chronicles of the Sword section of ''SoulCalibur 3'' had a lot of ping-pong paths. This is made more annoying by the space between the paths frequently being lawn or other terrain that should be entirely traversable, but you still have to take the long route.
[[/folder]]

[[folder:First Person Shooter]]
* ''VideoGame/Wolfenstein3D'' had ''loads'' of these. [=E3M8=] is particularly bad. [=E6M8=] is infinitely worse (imagine a figure eight, with paths filling in the insides of both loops).
* At a certain point in ''VideoGame/{{Timeshift}}'' you enter a fucking ''enormous'' warehouse, so big it constitutes the entirety of the level. You're standing on a metal gangplank overlooking a deadly drop, and the exit point is... straight to your left. Unfortunately, inbetween you and it sit a few stacked boxes. You look at them and go "ok, there's a small space I should realistically be able to jump on to bypass them", but no, if you try that you fall and die. Then you think "why can't I climb them or push them off?", but no, jumping and the action button have no effect (neither does, of course, shooting them with a rocket). The only possible course of action is to go the other way, and start on a ridiculously long and convoluted path that will take you across the entirety of the warehouse - both on the ground floor and on more gangplanks than can be counted - before ultimately leading you to the exit point.
* The infamous Golden Gun Room in ''VideoGame/GoldenEye1997'' features a Q-Bert Floor. Step on the wrong tile, and the [[SentryGun automated gun turrets]] will turn you to Swiss cheese.
* Many levels in the ''{{Halo}}'' series follow a ping-pong or velvet rope space-filling path, sometimes enforcing this with instant-death [[GravityBarrier fall barriers]]. Examples include Pillar of Autumn, Truth and Reconciliation, Assault on the Control Room, Keyes, Delta Halo, Uprising/Great Journey, Sierra 117, and Tsavo Highway. Often, these are used to facilitate DynamicLoading. The Library and its descendants are Intestinal Tract levels with constant Flood ambushes and other hazards. And the infamous "Cortana" mission is a near-literal intestinal tract, complete with "sphincdoors".
* Creator/{{Valve|Software}} tends to do this in rather subtle and creative ways.
** In ''VideoGame/{{Half-Life 2}}'', [[ZombieApocalypse Ravenholm]] seems a lot larger than it really is, as the player must traverse the streets, building interiors AND roofs.
** ''VideoGame/{{Portal}}'' has Test Chamber 17, in which you can see the button that you place the [[CompanionCube Weighted Companion Cube]] on towards the end of the level through a glass floor in one of the energy ball hallways, as well as through a window in the main room.
** ''VideoGame/Left4Dead2'' also has a couple examples:
*** You can see the Safe Room in the Barns chapter of Dark Carnival about halfway through the level (and you can throw [[EscortMission Gnome]] [[HundredPercentCompletion Chompski]] over the fence if you have him). However, to get to it, the Survivors must continue past said fence, turn around and fight through some barns running alongside the area they just navigated, climb on top of and traverse the roofs of those same barns to reach the other side of the fence, and then fight through a continuous onslaught of zombies.
*** The Crescendo event in the the "Park" map of "The Parish" has the players running through what used to be a waiting queue; as such, it is a little less subtle.
*** In "Quarter", the following part, you can very often see areas you've been before or have to pass through from behind a fance or a gate. The map itself is surprisingly compact regarding dimensions.
[[/folder]]

[[folder:MMORPG]]
* ''WorldOfWarcraft'':
** The Armory wing in the Scarlet Monastery consists largely of a pair of massive hallways with gates arbitrarily placed to maximize the time needed (and the number of enemy groups encountered) to traverse it.
** Most of the dungeons invoke this trope, the ones in the expansion packs just tend to be smaller.
** The most trope-fitting being Razorfen Downs, with the last 45 minutes spent climbing a tacked-on ascending spiral ramp.
[[/folder]]

[[folder:Platform]]
* ROM hacks (especially of ''[[SuperMarioBros Super Mario World]]'') and NintendoHard platform games are the kings of this, utilizing both the ping pong path and the velvet rope path to near ridiculous degrees to make sure every possible part of each room is filled with more and more narrow jumps and instant death spikes. And in some even worse cases, you have to go right back through said maze with an item or after an action is taken the other side.
* ''SuperMarioBros'' has this with the block trains/snakes in some of the castles in Super Mario World, New Super Mario Bros and quite a few Mario World hacks, which have Mario riding a moving train of blocks that pretty much goes the long way round a huge room past a ton of obstacles. New Super Mario Bros even had one in one of the tower levels which went right, up one block, left, up another block, ad nauseum for a while before moving on upwards.
* ''VideoGame/IWannaBeTheGuy'' has countless "intestinal tract" type rooms, including several chock full of SpikesOfDoom (eg the Room of Patience, which also has four [[LiftOfDoom Lifts of Doom]]), a gauntlet of [[VideoGame/MegaMan2 Quick Man]] {{Death Ray}}s, and a path consisting of a "snake" of {{Temporary Platform}}s that gradually increases in speed.
* ''Franchise/{{Castlevania}}''
** ''VideoGame/CastlevaniaHarmonyOfDissonance'' has many zigzagging paths designed to make you abuse your two-way dash move just to save time.
** The first GBA title, ''VideoGame/CastlevaniaCircleOfTheMoon, was pretty obnoxious as well. In any room that was more than one screen wide or tall, it was virtually guaranteed that you'd move through every possible screen to get from one corner to the other.
** ''VideoGame/CastlevaniaSymphonyOfTheNight'' was notorious for all of this. Thankfully by Aria of Sorrow, IGA and company wisely started consolidating the castle designs and expand the number of warp spots from then on to reduce all of that needless backtracking.
* ''VideoGame/SuperMarioGalaxy'':
** [[ThatOneLevel Luigi's Purple Coins]] becomes a Q*bert Floor, as every platform that it is safe to stand on either disappears or starts rotating and becomes unstable after touching them.
** There is also, the ''Hurry, He's Hungry'' Star in the Sea Slide Galaxy as well as the Shrinking Satellite star in the Hurry Scurry Galaxy, which features a planetoid constructed completely out of disappearing tiles with a Black Hole in the center. Mario must grab an item from each tile, at which point the black hole turns into a Star.
* In ''VideoGame/SuperMarioGalaxy2'', the Cosmic Clones are a Q*bert Floor mechanic to an extent, because you to have to run from infinite numbers of Mario clones that copy your every move and crossing your path leads to being hurt via CollisionDamage. This gets applied then to Luigi's Purple Coins from the first game. This time, though, you have Co-Star Luma (if you have friends) to stop the green tiles from disappearing.
[[/folder]]

[[folder:Puzzle]]
* ''VideoGame/{{ZZT}}'' games from the earlier years of the program made by first-time designers suffered from the presence of Ping Pong Paths so often that they have appeared in "help" games describing and depicting what not to do in a ''ZZT'' game.
** ''ZZT Syndromes'' did it particularly memorably, effectively forcing the player to step on most of the tiles on the screen - [[spoiler: or it would have if the narrator didn't let you off the hook by carving a tunnel while you were doing it.]]
[[/folder]]

[[folder:Real Time Strategy]]
* Most dungeon crawl missions in ''{{Warcraft}} III'' and its expansion. As well as their ancestors, the installation missions from ''{{Starcraft}}''.
* Many ''{{Starcraft}}'' and ''VideoGame/StarcraftII'' multiplayer maps feature a long, twisty route from one end of the battlefield. Generally, air-heavy strategies are more practical on these maps, since the greater mobility of aircraft helps cancel out the increased time to get to them in the TechTree. On map from [=SC2=] in particular is the epitome of this trope in [=RTSes=] - the players' starting locations are on separate plateaus arranged in a circle, with ramps down to a ring around the exterior of the map - the only ground route available.
[[/folder]]

[[folder:Roguelike]]
* ''VideoGame/NetHack'':
** The deepest levels of the game are completely maze-like, and delay moving from one floor to the next to an aggravating degree; although this is why savvy hackers will just bring a pick-axe with them. This is why savvy hackers have Teleport Control. But '''really''' savvy hackers bring both, because teleportation becomes unreliable once you have the Amulet. A ''very'' savvy hacker uses a wand of digging to clear the shortest-line path from stairway to stairway in preparation for the return trip before ever setting foot in the Inner Sanctum.
** The variant Slash'EM has a guaranteed Ping Pong Path on one deep level; it's less about filling up space, and more about giving the Wizard of Yendor plenty of time to lay his ubiquitous brand of smackdown upon you at his leisure.
[[/folder]]

[[folder:RPG]]
* ''VideoGame/BaldursGate'': The third-to-last area is basically nothing more than a large room, with flimsy wooden walls set up to create a labyrinth. There are also several nasty monters who will shoot at you with flaming arrows. Oh, and there are traps set right in front of the monsters, too. And said monsters are resistant to most ranged weapons. [[ScrappyLevel Yeah.]]
* ''VideoGame/ShadowHearts'' has done this a few times. The Wine Cellar in ''Covenant'', for example, sends you through several rooms where you have to flip a switch to lower a path to flip a switch... The last switch in a room, thankfully, lowers the path back out.
* Many outdoor locations in ''NeverwinterNights2'' are like this -- see [[http://gamebanshee.com/neverwinternights2/walkthrough/mountgalardrym.php this map]] for an {{egregious}} example.
* ''VideoGame/FinalFantasyX'' and ''VideoGame/FinalFantasyX2'' suffered from this in Macalania Woods and the Mount Gagazet trail, which both featured elongated spirals, where you could actually see the path below you, and in X-2's particularly bad case, you actually do once jump down to the lower path to complete a quest, but can never again use that shortcut.
* The world map of the first ''VideoGame/DragonQuest'' game arguably fits this trope, as the final enemy's castle is visible from the starting area, but requires a circuitous route to reach.
* Dungeons in the game ''VideoGame/TheElderScrollsIIDaggerfall'' have been described affectionately as ''octopi mating'' and the random generator is not even entirely to blame for this. Even some of the main quest dungeons, which were carefully designed, appear nebulous.
* Since every room in ''VideoGame/LufiaIIRiseOfTheSinistrals'' has a puzzle, there are quite a few room with the aforementioned Q*Bert floor.
* In ''VideoGame/SwordOfVermilion'', the paths towards both the last town and TheVeryDefinitelyFinalDungeon are examples of this trope, the first being a long spiral and the second a long back and forth winding path. One villager even [[LampshadeHanging lampshades]] it, saying that the BigBad made it that way to "discourage you".
* A pet peeve of many ''VideoGame/MegaManBattleNetwork'' players is long, twisty paths in areas of cyberspace where there's no reason for it. Or rather, there ''is'' a reason -- the designers are forcing more random encounters. It's especially annoying the way each game's final boss has a long enough runup that you'll get attacked at least once, and this is after the no-save point. In the sixth game, Green Area is an {{egregious}} form of intestinal tract. The stage of the Green Town boss, Judgeman, is also a good example of the Q-Bert Floor.
* ''VideoGame/ChronoTrigger [[VideoGameRemake DS]]''. Lost Sanctum. Not only is it a SpaceFillingPath, but you have to go back and forth on it over and over until you die of boredom.
* Most of the ''VideoGame/{{Pokemon}}'' games contain various degrees of this trope in the Routes that separate towns and other landmarks, although they are typically one-directional, as they are often made out of ledges that can simply be jumped over in the reverse direction.
* ''VideoGame/PokemonRubyAndSapphire'':
** In the 8th gym the floor is made of ice and to open the door to the next room you need to crack all the tiles in the current one, but if you step on the same tile twice, you fall through the floor to the lower level, full of trainers. And the further you got onto the upper floor, the more trainers you had to fight on your way out.
** Another example is in the Sky Pillar, this time you need to use the Mach Bike to go over the cracked tiles before they break completely. The bike is pretty fast but hard to steer and if you stop (such as from a collision), you fall down.
* ''VideoGame/TitanQuest'' has a velvet rope path in the Labyrinth of Minos.
* ''VideoGame/UltimaVIIPartII''. One of the (many) trials in the game is a snaking path filled with acid. Plot-wise, you have to recruit an acid-immune character to bypass it, although bringing along a load of healing potions also works.
* ''VideoGame/{{Wizardry}} V''. Dungeon level 4. It does warn you that a 'Labyrinth of Doom' is ahead, or something to that effect. If you don't listen, expect to have to traverse a wind about, single tile path filling half the dungeon and containing nothing but enemies with all sorts of ''StandardStatusEffects'' including poison, petrification, and instant death. Of course there's a secret door to skip it right at the entrance...
* ''VideoGame/{{Brandish}}'' lays out the routes on each floor so that you end up covering nearly all of the square-shaped map screen just trying to go from one staircase to the next. There are a few side rooms here and there that you don't need to enter unless you want some extra items, but if you end up trying to backtrack to a previous floor, you're going through nearly the whole map again.
* ''VideoGame/{{Arcana}}'' has plenty of winding paths or long dead-end corridors that seem to exist only to give you more chances of getting into a random battle. Especially since simply making a 90-degree turn has a chance of ending up in a battle, just like taking a step forward or backward.
* ''VideoGame/NieR'' has one of these when you go to the WarmUpDungeon where you have to follow a ridiculously looping route to bypass approximately 20 feet of collapsed canyon, which contains no enemies, puzzles or loot and appears to exist for the sole purpose of a cut-scene pan across the tower.
* ''VideoGame/BreathOfFireI'' has a major one. The path ''appears'' to be simple--just a bridge with a few extra paths veering off of it... until you step on the button that spins the screen and the characters until you don't know which way is up. And since its nothing but blackness all around, you can't even use landmarks. Even on the straight stretches you can find yourself turned around and going back the way you came.
* While most of ''VideoGAme/DragonAgeOrigins'' is railroading at its finest, the most annoying part is the Gauntlet, where you have to keep moving characters in a certain sequence in order to unlock the next part of the puzzle to get [[spoiler: The Sacred Ashes of Andraste.]]
* ''VideoGame/FalloutNewVegas'' uses these to a frustrating degree, since the overworld is divided into cells to facilitate {{dynamic loading}}, and the paths between cells are rather limited. Trying to go straight to a waypoint will often lead to running into an InsurmountableWaistHeightFence, or worse, a Deathclaw or Cazador ambush. The ''Lonesome Road'' DLC, having NoSidepathsNoExplorationNoFreedom, is even worse, especially near the end, where you have to negotiate a [[DemonicSpiders Tunnelers]]' nest to bypass a cave-in, then follow a long undulating spiral path up to Ulysses' Temple.
* ''VideoGame/DiabloIII'' has at least three needlessly twisty paths - between Old Tristram and Adria's Hut, on the way up to the Desolate Sands, and a long straight path at the start of Zoltan Kulle's sanctum - which are all, barring movement speed increasing buffs, ''exactly'' long and twisty enough to last the length of an attendant party member's exposition.
* ''VideoGame/DisgaeaHourOfDarkness'': One of the levels in Celestia starts with such a path made of No Entry geo panels, forcing your characters to slug through as angels shoot at them.
[[/folder]]

[[folder:Survival Horror]]
* ''VideoGame/EternalDarkness'' does this, especially the damaging-floor variety, later on in the game. Why was the whole main lobby of the final dungeon a giant bug zapper again?
[[/folder]]

[[folder:Third Person Shooter]]
* A map in ''Franchise/StarWars: VideoGame/JediKnightJediAcademy'' starts with you about to walk from a landing to platform to a nearby building... but then the bridge is blown up by your target. Cue a level which requires you to go through all the surrounding skyscrapers just to reach the one you intended to enter.
* ''JetForceGemini''. Multiple levels must be revisited to collect every single one of the furry innocent civilians. Who are very vulnerable to any enemy fire. So blow five minutes blasting through yet another reiteration of the same level and a giant rocket blows Squishy Chewbacca to kingdom come? Start over, man. And the pathways through the levels cross over and loop and wrap around each other in dozens of various and differing ways. All not accessible all the time because of various abilities of the three main characters. Long story short, you're going to be seeing the same engine room a LOT. And yes, the enemies will always respawn.
* Most of the levels in ''VideoGame/WinBack'' consist of space-filling paths, usually "ping pong" paths, sometimes with BackTracking through parts of previous levels.
[[/folder]]

[[folder:Tower Defense]]
* This is the sole purpose of the genre of web games known as TowerDefense games - you defend a SpaceFillingPath from a stream of oncoming {{Mooks}} by building defence towers to shoot them. In some instances, you must also ''create'' the SFP, which is an added problem/puzzle. Usually, you must create it while the enemies are flowing, which is even more difficult.
** There seems to have been a trend away from this in recent years, possibly brought on by the hugely successful ''VideoGame/PlantsVsZombies'', which ditched this mechanic and instead had the zombies walk towards the player in straight lines.
[[/folder]]

[[folder:Real Life]]
* Some cathedrals have a space-filling path marked on the floor, apparently so that pilgrims can walk a long distance inside the cathedral without retracing their steps.
** "Walking the Labyrinth" is part of Lenten devotionals in many denominations, sometimes associated with the Stations of the Cross.
* Every theme park in the world uses this to fit as many queueing people as possible into as small a space as possible.
* Also banks, fast food, some stores (by the registers), boxes for linked-belt ammo, cooling conveyors in food production... basically, any time something needs to be stored for a time while remaining in first-in-first-out order.
* Switchbacks on mountain roads. In this case, artificially lengthening the road allows the grade to be less steep: it's rise-over-run, and rise is fixed, so beef up "run".
** A few streets in especially hilly cities do the same thing for the same reason, such as one block of [[http://en.wikipedia.org/wiki/Lombard_Street_(San_Francisco) Lombard Street in San Francisco]].
* In demolitions, time delays are added for synchronizing charges by inserting bundled loops of detcord into the fuse lines. A coiled bundle about 4000 meters long will delay the signal by a half second: it burns very fast.
* Many cities before urban planning developed in this manner, with complex and densely-packed structures around narrow roads and alleys. Papal Rome in particular developed what had been a fluke of development into a symbol of revelation, pilgrims to the See passing from the darkness of these roads into the brilliant light of Saint Peter's Square and the heart of the Catholic Church. Mussolini then controversially demolished most of the neighbourhood, as well as destroying or relocating many historic buildings and residences, in order to [[DungeonBypass create a straight path]] as part of his general renovation of Rome. The Via della Conciliazione remains disliked even today for this.
* There's a special term for any labyrinth that doesn't branch: Unicursal. Every unicursal labyrinth, incidentally, is a space filling path by design.
* [[http://en.wikipedia.org/wiki/Space-filling_curve Space-filling curves]] are continuous curves that nonetheless fill an entire square. They are used to provide useful examples/counterexamples to many topological statements. For examples, they explain why the notion of dimension is more complex than it seems to be. Versions of them are also often used in computer programs for geospatial data.
* This is the idea behind real labyrinths (as opposed to mazes), such as the Labyrinth of Chartres. It is meant as a metaphorical or meditative activity.
[[/folder]]
----