Editing Pikmin 2 cave generation
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
== Generation == | == Generation == | ||
When a sublevel is entered, the game generates it [[random]]ly; it starts by building random terrain, and then populates it with random objects | When a sublevel is entered, the game generates it [[random]]ly; it starts by building random terrain, and then populates it with random objects. | ||
===Layout=== | ===Layout=== | ||
A sublevel's terrain is composed of several [[cave | A sublevel's terrain is composed of several [[cave units]] stitched together. Each unit can be a dead end, a corridor, or a room, and has some spots where objects can spawn; each spot contains data about the amount and type of object that can spawn there. In each sublevel's configuration, there is data about which cave units it is allowed to use, and data about how the dead ends, corridors, and rooms should work in terms of quantities. The game then uses this information to randomly create and connect cave units. | ||
===Objects=== | ===Objects=== |