Follow TV Tropes

Following

Context Main / ProceduralGeneration

Go To

1%%%
2%%
3%% This page has been alphabetized. Please add new examples in the correct order. Thanks!
4%%
5%%%
6
7Procedural Generation is a form of creating media automatically. Rather than hand-crafting every coastline, mountain, tree, person, and their identity, a designer makes a system where they need to enter a few variables and the program works out the details. It's a bit of a double-edged sword: when it's done well, it works ''really'' well, but when it's done poorly, it's either a mess or horribly boring.
8
9Procedural Generation has a kind of sinusoidal history: it was pretty much required in the days of 8-bit gaming, as cartridges and computers literally did not have enough memory to store all the levels. This brought in the concept of using "seeds" to grow a [[GameplayRandomization randomly generated]] world which looked realistic and challenging. Then, as games got more detailed and had more capacity, level creation was done manually, as by this time, random generation, particularly in games with save features, took up more space than static levels (take ''VideoGame/DwarfFortress'' for example: each world can hit 100MB... in .txt form). As of late, procedural generation in video games tends to be behind the scenes: in AI, for example, or for audio or visual effects.
10
11To generate more complex maps procedurally, an algorithm called "Wave Function Collapse" may be used. In short, that means; the computer gets a pattern like "Water tiles go next to sand tiles, sand tiles go next to grass tiles, etc." and generates a grid in which all tiles exist in a superposition of states. Then it randomly "collapses" one of them into a random state and updates the neighbouring tiles accordingly. Repeat until completion.
12
13Even if static maps exist in a game, it's possible procedural generation was used in development to save map developers some time... and is most likely if it involves random tree or rock placement, or anything to do with cliffs or coastlines.
14
15The {{Demoscene}} has historically made more use of these techniques than anybody, in order to get spectacular graphical effects out from tiny, tiny packages.
16
17RandomlyGeneratedLevels, RandomlyGeneratedLoot, and DynamicDifficulty (and, by extension, RubberBandAI) are subtropes; put pure examples of either there. {{Roguelike}}s in particular are defined by this kind of level generation.
18
19----
20!!Examples:
21
22[[foldercontrol]]
23
24[[folder:Video Games]]
25* The ''Franchise/DotHack'' games use a variation of procedural generation for fields and dungeons; at Chaos Gates in Root Towns, players can input a combination of three keywords to act as the seed for the field and dungeon they wish to travel to, with the keywords determining everything from monsters to terrain to difficulty level.
26* ''[[VideoGame/DotKkrieger .kkrieger]]'' was very famous in its day for being an FPS built near-entirely on procedurally generated content, matching the likes of ''VideoGame/Doom3'' with a filesize of only ''96 kilobytes''.
27* ''VideoGame/AIDungeon2'' is a [[InteractiveFiction Text Adventure]] that uses procedural generation based on player responses to create its prompts. It markets itself as the first video game with an infinite amount of content to explore.
28* ''VideoGame/{{Borderlands}}'' does this for your loot. It [[WhatCouldHaveBeen was going to]] make the world this way as well.
29* Creator/{{cactus}}' several games, including ''VideoGame/{{Protoganda}}'' games and ''VideoGame/BurnTheTrash'' use random seed generator to create enemies out of random parts that are always the same. These games also often included "random" option where enemies are ''completely'' random.
30* ''VideoGame/CastleOfTheWinds'' randomly generates the dungeons outside of certain plot-relevant elements.
31* ''VideoGame/CloudberryKingdom'' is a PlatformGame that generates its levels based on the player's skill level and the type of power (DoubleJump, {{Flight}}, JetPack, etc.) they are using. Even at its [[PlatformHell most sadistic]], most levels are designed to be solvable.
32* ''VideoGame/ConwaysGameOfLife'' is an artificial life simulation that involves drawing cells on a grid and then applying the game's rules to them. It can lead to some surprisingly life-like patterns. Website/TheOtherWiki has some [[http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life particularly awesome animations]].
33* ''VideoGame/CubeWorld'' has a world that generates as you progress, which can contain different biomes, cities, and dungeons. The worlds use seeds so players can share interesting maps with each other.
34* There's a trend in {{Rhythm Game}}s to do this: creating maps from a user's music collection. ''VideoGame/DanceFactory'' most likely started this, making ''VideoGame/DanceDanceRevolution''-style step charts, and indie games like ''VideoGame/{{Audiosurf}}'' and ''1...2...3...Kick It! (Drop That Beat Like An Ugly Baby)'' offer different takes on the idea.
35* ''VideoGame/DarkestDungeon'' randomly generates most dungeons and adventurers.
36* Demoscene competitions challenge developers to make the most advanced 4K, 1K, 256-byte, 64-byte, or even 32-byte software.
37* ''VideoGame/DeepRockGalactic'' uses this for level generation, ensuring each mission has a different layout.
38* ''VideoGame/DragonCreek'' has seven species of dragons, each with a set list of parts, and they can come in any colour. The player can choose to have one randomly generated, input a code to get a specific dragon, or customise one.
39* ''VideoGame/DwarfFortress'': Not only does it generate terrain for a region up to the approximate size of the planet Earth, it also simulates weather, erosion, and other geographical features in minute detail. And ''then'' it adds up to a thousand years of procedurally generated history: Wars, battles, the rise and fall of empires and dynasties, and even the creation of great works of art and literature. The game even has procedurally generated "forgotten beasts" living underground, similar "titans" living above ground, various "night creatures" generated from a different format, and the procedurally generated [[UnusualEuphemism Hidden Fun Stuff]]. The .40 versions also contain procedurally generated metal, weapon, armour, and entity raws for adventure mode HFS.
40* ''Franchise/TheElderScrolls''
41** ''[[VideoGame/TheElderScrollsArena Arena]]'' and ''[[VideoGame/TheElderScrollsIIDaggerfall Daggerfall]]'' were almost entirely generated in this fashion, with a few plot-specific cities and dungeons as exceptions. The former being ''the size of Europe'', the latter being only the size of Britain or so. Both also use RandomlyGeneratedLevels for areas and dungeons that aren't plot-important.
42** ''[[VideoGame/TheElderScrollsIIIMorrowind Morrowind]]'' went away from it for the first and, to date, only time in the main series. The entire world was hand-created and remains exactly the same between playthroughs. It helps that, through the use of SpaceCompression, it is nowhere near the size of its predecessors but is still far larger than most game worlds.
43** Almost all of ''[[VideoGame/TheElderScrollsIVOblivion Oblivion]]'' is created through simulated soil erosion, with dungeons being made of random parts of quest dungeons, making for long, repetitive crawls. Coupled with [[LevelScaling enemy and loot spawns]] being [[RandomlyGeneratedLevels spreadsheet generated]], much of the uniqueness seen in ''Morrowind'' was lost.
44** ''[[VideoGame/TheElderScrollsVSkyrim Skyrim]]'', while still having non-quest related areas of the landscape generated in this fashion, made a move away from this trope compared to ''Oblivion''. Even many non-quest related areas were still hand built to inspire awe and give the game's regions a more unique feel.
45* ''VideoGame/{{Elite}}'' was one of the first games to use this technique to generate not only worlds, but names, descriptions, and even prices of commodities, among many other innovations, by using the Fibonacci sequence. All in 22 kilobytes -- your phone likely uses more for menu transitions.
46* ''VideoGame/EmpireEarth'': Random maps are generated according to some specifications (terrain type, map size...), but the editor allows their creation with just a seed number. The second game allows a bit more tinkering (resources close to starting positions or placed randomly, allies starting together or not, etc.).
47* ''VideoGame/{{Fuel}}'' is a RacingGame with a map of '''14,000 square km''' of [[AfterTheEnd postapocalyptic]] wilderness, or ''half the size of Belgium''. It uses a fixed seed generated by the developers (because if they shipped the entire map, it wouldn't actually fit on the disc) and a few manually created landmarks. The game was praised as [[DancingBear an incredible technical achievement]], but most reviewers considered the idea wasted on a racing game.
48* ''VideoGame/{{Gangland}}'' had the wife of PlayerCharacter Mario [[spoiler:who gets killed later in the storyline]] procedurally generated.
49* ''VideoGame/KingdomOfLoathing'' has a number of zones based around randomly-generated content, such as the [=GameInformPowerDailyPro=] dungeon. Jick, one of the founders of [=KoL=], has a self-admitted fondness for procedural generation, so much so that it's possible to use a special item to enter his subconscious and fight your way to the top of the Tower of Procedurally-Generated Skeletons. Your reward for clearing it is [[https://kol.coldfront.net/thekolwiki/index.php/Sword_of_Procedural_Generation a sword with five semi-random enchantments]], the combination of which is (probably) unique to each player.
50* ''VideoGame/KingdomsReborn'': You have to generate a map before starting a new game. You can choose the size, temperature, moisture, sea level, and mountain density, but the shapes of the landmasses and their provinces' resources are decided by the seed, which can be any combination of numbers and/or letters.
51* In ''VideoGame/KittyPowersMatchmaker'', the clients are generated with mostly random interests, hair and eye color preferences, and personality traits, although not everything is completely random -- for example, geeks are way more likely to be introverted.
52* ''VideoGame/Left4Dead'' handles music the same way, giving each survivor their own music based on what was happening to and around ''them'', and not necessarily to his teammates. Additionally, spectating a player will also duplicate that player's music for the spectator.
53* ''VideoGame/LennasInception'': The overworld and dungeon maps, as well as the dungeon/item/boss order, are determined by the seed name you chose when creating a file.
54* The traitors in ''VideoGame/LostDimension'' are randomized each time through the game, with the sole exception of the first one. On a NewGamePlus, that is also randomized.
55* ''VideoGame/MiddleEarthShadowOfMordor'' and [[VideoGame/MiddleEarthShadowOfWar its sequel]] use procedural generation as part of their "Nemesis System": every Orc has a unique appearance, and every captain, warchief, and overlord encountered is given a unique name, voice, a title related to their expertise or personality, and various strengths, weaknesses, [[BerserkButton Berserk Buttons]], and [[WhyDidItHaveToBeSnakes phobias]].
56* ''VideoGame/{{Minecraft}}'' procedurally generates landscapes that are, for all practical purposes, infinite. There's an end, but it's about 30,000 kilometers[[note]](equivalent to 75% of the circumference of the Earth's equator)[[/note]] from your spawn point, which would take a minimum of 820 hours of gameplay to reach without cheating. The terrain randomly contains NPC villages, dungeons, strongholds, temples, and abandoned mineshafts, as well as thirty-six distinct biomes, including mountains, jungles, deserts, swamps, and tundras. This combines to create an immense world[[note]](the game is designed to support levels with approximately eight times more surface area than the Earth, although your system probably isn't up to the challenge)[[/note]] that you could spend your entire life exploring, if you felt like it. Furthermore, the game uses a special code called a seed to keep generated terrain consistent, and there are roughly four billion seeds to choose from, each of which can generate a unique world. The same seed can be used to generate the same world on any computer, and there are quite a few websites dedicated to sharing interesting seeds with other players. The alternate dimensions, the Nether and the End, also generate procedurally, which results in extremely varying layouts in different seeds for both as they consist basically of massive cliffs and floating islands respectively.
57* ''VideoGame/NobodySavesTheWorld'': Although the overall plot remain consistent, the layout of the dungeons are randomly generated for every playthrough. The dungeons also change if you get killed inside (which kicks you back to the entrance), with the in-game justification being that the [[EldritchAbomination Calamity]] is causing this flux.
58* ''VideoGame/{{Noctis}}'': A space flight simulator allowing you free roaming in a galaxy approximately 90 thousand light-years in radius (about double the radius of the Milky Way Galaxy) made of over ''78 billion'' stars, many with planets and moons. If you pick any point in the starfield, you can go there, then land on any rocky planet you find and roam around, created by a program of under a megabyte.
59* ''VideoGame/NoMansSky'', a sort of SpiritualSuccessor to ''VideoGame/{{Noctis}}'': A space flight simulator allowing you free roaming in a massive universe full of stars, all of which support at least one of the game's 18 ''quintillion'' planets, all procedurally generated. And the planets aren't the only things that are procedurally generated, either: every plant, animal, asteroid field, spaceship, trading route, weapon, and space station in the game is also procedurally generated.
60* ''VideoGame/OneWayHeroics'' uses seeded PRNG worlds. You can share these worlds by providing the seed numbers to other players.
61* ''VideoGame/{{Pitfall}}'' used a linear feedback shift register to generate 256 screens within the four kilobyte confines of an Platform/Atari2600 cartridge.
62* ''VideoGame/Portal2'' procedurally generates music based on user actions, using a decent number of different sound effects. The game composer mentions that the frequency of hearing the same track twice is somewhere in the tens of thousands of years.
63* ''VideoGame/RiverRaid'' randomly generates the level layout with each playthrough. This is the first video game to have such a feature. According to an interview with developer Carol Shaw, she said that she wanted to create a bunch of levels, but was unable to fit them on a cartridge, so having the game generated the level layout randomly on the fly was a solution to the problem.
64* ''VideoGame/{{Rodina}}'' uses procedural generation to generate countless square kilometres of planetary terrain (the planets themselves are predefined), create asteroids in the asteroid belt, and leave wrecks of the Vanguard fleet strewn throughout the solar system.
65* ''VideoGame/TheSapling'': When random mutations are turned on in sandbox mode, the game adds pre-existing parts in logical locations onto pre-existing species. Also, the background music during gameplay is made of various parts that play depending on what's happening.
66* ''VideoGame/SpaceEngine'' supplements stars, planets, nebulae, black holes, galaxies, etc. discovered in real life with countless stars, planets, nebulae, black holes, galaxies, etc. generated from a fixed seed.
67* ''VideoGame/{{Spelunky}}'' uses PRNG level 'chunks' that are then ever-so-slightly further randomized.
68* ''VideoGame/{{Spore}}'' can take ''any'' creature design and make it workable. And that's not including the number of stars in the galaxy and the planets surrounding those stars and the creatures on those planets, all procedurally generated.
69* ''VideoGame/{{Starflight}}'' used a plasma cloud fractal to generate altitude maps for 800 planets. The game fits on two 360k floppy disks.
70* ''VideoGame/TheSwindle'' generates a heist location anew with each mission launch, and randomly creates a vaguely British-sounding thief whenever you lose your previous one.
71* The [[https://www.youtube.com/watch?v=8SLjCTN7RGg "Oblivion"]] music from ''VideoGame/{{Turok}} 2'' is an apparently infinite non-looping sequence of pseudo-randomly arranged instrument clips.
72* In ''VideoGame/{{Westerado}}'', the appearance of the person who killed your family in the opening, and who is searched for by the player the entire game, is randomly generated every time you play to keep the game fresh. Even their gender can change!
73* ''VideoGame/{{Wildermyth}}'' randomly generates its world map and playable characters, which further evolve during gameplay based on how the player handles the various randomly-selected events they encounter.
74* ''VideoGame/TheWolfAndTheWaves'': The spawn locations of enemies, rabbits, mushrooms, and cure ingredients are randomized every playthrough.
75* ''VideoGame/WorldNeverland: Daily Life in Elnea Kingdom'' starts the player out in one of eight pre-made states, with a set group of [=NPCs=] in certain roles. However, its evolution from that point is based entirely on the actions of the player and procedural generation.
76* ''VideoGame/XCOM2'' features procedurally-generated maps that used pre-generated UFO and building elements as part of the landscape (explained in detail in [[https://www.youtube.com/watch?v=5jrq5rDI4dk a Games Developers Conference Talk]]). These can interact with SaveScumming to the player's advantage: if you don't like the layout of a mission, load a save from before the mission starts. The mission will reappear with the same objectives, but on a different map, which may be easier or harder than the previous map.
77* ''VideoGame/EvolutionTheGameOfIntelligentLife'': The game can procedurally generate new and unique maps that will change over the course of the game.
78[[/folder]]
79
80[[folder:Pen-and-Paper [=RPGs=]]]
81* ''TabletopGame/BetrayalAtHouseOnTheHill'' [''sic''] is a board game involves 3-to-6 players exploring a haunted mansion. It is procedurally generated by drawing and placing square tiles, each representing a room of the house, every time a player goes through a not-yet-opened door. (This can lead to AlienGeometries like doors to nowhere or an underground lake next to the parlor.) Additionally, at some point and the CoOpMultiplayer exploration phase switches to AsymmetricMultiplayer as one player [[TitleDrop betrays]] the others and becomes a supernatural antagonist who must be defeated. The exact nature of the threat is determined by which player failed the saving throw, what (randomly drawn) event they were rolling against, and what room of the house it happened in.
82* ''TabletopGame/BladesInTheDark'' has tables for randomly generating entire city parts, missions, [=NPCs=], and even simple word on the street from a couple dice rolls. The official usage instruction of these tables simply says "Roll some dice and use the results and these tables however you see fit."
83* ''TabletopGame/DogsInTheVineyard'' contains a procedure for the GameMaster to quickly generate entire towns from a single conflict idea.
84* ''TabletopGame/DungeonsAndDragons 5E'' DMG includes tables of random dungeon rooms, monsters, and loot, allowing a DM to run a simple yet varied DungeonCrawl with zero prep just by rolling some MediaNotes/{{dice}} and engaging their imagination. The first edition of Advanced Dungeons & Dragons included a similar system, and random "wandering monsters" generated from an encounter table have long been a feature of the game.
85* ''TabletopGame/StarsWithoutNumber'' has tables for randomly generating entire sectors of space. The detail goes from planet placement down to how breathable the atmosphere is to what factions are on planet. There is even a metagame where the game master can generate interactions between factions, both sector-wide and local to a single planet.
86* Most editions of ''TabletopGame/{{Traveller}}'' have a process for randomly generating worlds. Some editions take this much further. T5 lets one generate an entire solar system this way, including detailed world maps for each non-gas giant, to the point that its author cautions against doing this too much if it is being done to prepare for a game (doing it for its own sake is fine).
87--> Map Only As Really Necessary
88[[/folder]]
89
90[[folder:Other]]
91* Generative music sequencing, often used by IDM bands such as Music/{{Autechre}}.
92* ''Webcomic/{{Mezzacotta}}'' has comics generated using the date as a seed.
93* Various CGI animated works randomly generate background characters to avoid the tedious task of having to design each background character individually. Creator/{{Pixar}}, for example, randomly generated many of the background monsters in ''WesternAnimation/MonstersInc1'' and its [[WesternAnimation/MonstersUniversity prequel]] based on a variety of factors (body types, number of eyes and limbs, size, color, etc.). This ''did'' sometimes result in the [[YouAllLookFamiliar characters looking identical to one another]], but it's usually considered a minor inconvenience.
94* ''Series/TheAvengers1960s'' episode "Love All" (6-21) involved [[ExtrudedBookProduct computer-generated]] {{romance novel}}s.
95** One of the background details in ''Literature/NineteenEightyFour'' was similar (pornographic) literature and patriotic music generated using a kind of mechanical computer.
96[[/folder]]

Top