FFFF GitHub - odedw/karcero: Procedural dungeon tile based map generator. · GitHub
[go: up one dir, main page]

Skip to content
odedwPublic

About

Procedural dungeon tile based map generator.

Resources

Stars

118 stars

Watchers

13 watching

Forks

Repository files navigation

Karcero

A dungeon/cave map generation library for C# with a fluent API and generic models open for extension.

6B43

Dungeon Map Generation

The dungeon generation algorithm is based on Jamis Buck's algorithm with some tweaks here and there.

Here is an example of a generation call:

var generator = new DungeonGenerator<Cell>();
generator.GenerateA()
         .MediumDungeon()
         .ABitRandom()
         .SomewhatSparse()
         .WithMediumChanceToRemoveDeadEnds()
         .WithMediumSizeRooms()
         .WithLargeNumberOfRooms()
         .AndTellMeWhenItsDone(map =>
         {
            //Do stuff with map
         });

and the result (visualized): Map Example

Cave Map Generation

TBD

About

Procedural dungeon tile based map generator.

Resources

Stars

118 stars

Watchers

13 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0