• Tutorials
  • Procedural Cave Generation tutorial

Procedural Cave Generation tutorial

Learn how to create procedurally generated caverns/dungeons using cellular automata and marching squares.

In this 9 part advanced scripting series created by one of our community members, we learn how to create procedurally generated caverns/dungeons for your games using cellular automata and marching squares.

Author: Sebastian Lague.

There are no asset downloads required for this project but the source code is on github here.

Questions? Ask in the official forum thread here.

1. Generating Content

2. Walls and Rooms

3. Polish and Passageways