Stairs Floor Generation

From PMDOWiki

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

Usage

Stairs Floor Generation is the rarest variant in PMDO, due to its relative inflexibility when compared to other FloorGen types. It mostly sees use in some debug room tests.

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.