Stairs Floor Generation: Difference between revisions

From PMDOWiki
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..."
 
Imbion (talk | contribs)
No edit summary
Line 1: Line 1:
'''Stairs Floor Generation''', known internally as <code>StairsFloorGen</code>, is a type of [[FloorGen]]. It generates by carving out floor tiles from the dungeon.
'''Stairs Floor Generation''', known internally as <code>StairsFloorGen</code>, 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 ==
== Generation Process ==
{| class="wikitable"
{| class="wikitable"

Revision as of 20:15, 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.