Stairs Floor Generation

From PMDOWiki
Revision as of 20:06, 10 August 2025 by Imbion (talk | contribs) (Created page with "'''Stairs Floor Generation''', known internally as <code>StairsFloorGen</code>, is a type of FloorGen. It generates by carving out floor tiles from the dungeon. == Generation Process == {| class="wikitable" |- ! Image !! Step Description |- | frameless || InitTilesStep specifies the dimensions of the floor in tiles, initalizing a grid of wall tiles. |- | frameless || An algo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Stairs Floor Generation, known internally as StairsFloorGen, is a type of FloorGen. It generates by carving out floor tiles from the dungeon.

Generation Process

Image Step Description
InitTilesStep specifies the dimensions of the floor in tiles, initalizing a grid of wall tiles.
An algorithm is used to carve out floor tiles from the dungeon, such as SpecificTilesStep or PerlinWaterStep.
Finally, StairsStep is used to choose a start and end tile (purple) on a walkable tile.