generators.module
- .metadata265 B
- README.md761 B
- cave.luau2.5 KB
- dungeon.luau3.3 KB
- forest.luau3.7 KB
- fortress.luau5.3 KB
- init.luau2.2 KB
- island.luau2.4 KB
- maze.luau2.6 KB
- runner.luau3.8 KB
- tiles.luau9.9 KB
README.md
procLevelKit.generators
The eight built-in level kinds, each in its own file: dungeon (rooms and corridors, spanning tree plus loops), cave (cellular automata with moss and pools), fortress (binary space partition into halls, chambers and a courtyard), tiles (wave function collapse over 7x7 village and temple pieces whose edges must match), runner (lane chunks generated per chunk index so a track can stream forever), island (fractal noise with a radial falloff: sea, beach, grass, hills, palms), maze (recursive backtracker with braiding) and forest (noise-density trees, clearings joined by winding paths). Aliases (rooms, castle, village, labyrinth, ...) and register(name, fn) for your own kinds. Called by ProcLevel.plan.