Stairs Floor Generation: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
No edit summary
Imbion (talk | contribs)
... I forgot the S!!
 
Line 14: Line 14:
|-
|-
|}
|}
[[Category:FloorGen]][[Category:StairFloorGen]]
[[Category:FloorGen]][[Category:StairsFloorGen]]

Latest revision as of 21:26, 10 August 2025

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.