Skip to main content

ProcGen - 0.2

Procedural generation of game level content: outdoor terrain, caves, dungeons, corridor crawler dungeons, mazes. etc

Paul Paterson
A modular system for generating procedural content and a user interface to help explore the parameters and tune them to produce the kind of content you need. You can use the system in your game to generate random levels or export the levels to TILED files and import them in your game.


What's new in v0.2

- Added island generator to detect islands in a sea terrain
- Added port creator to add ports to islands
- Added loading and saving of specific parameter configurations
- UI now supports parameter pages to better separate different settings
- UI reports when a tiled file is written

The picture below shows the new island builder - the builder uses the terrain module to build the islands and the biomes but also understands their physical extent and places ports on the shoreline.

A procedural content generation system and user interface.

The "terrain" module is a modularsystem for generating procedural content such as,

- landscapes
- rogue-like dungeons
- doom-like dungeons
- caves
- mazes
- seascapes with islands and ports

The system is configured with an XML file that defines what procedural modules are used
and what their initial parameters are.

The user interface allows you to play around with the parameters and see what the impact
is of them.

The generation system can be used live in games (using the terrain module and the XML files)
or you can export the created content to TILED xml files and load them into your
game in that way.

To get the large dungeons you have to use the dungeon mode and set the number of iterations to 400+, which takes a long time at the moment. I hope to speed this up in later releases.

Usage video
Main UI Caves Dungeons
Rogue-likes Terrain Mazes
Tiled Export for Cave Tiled export for Dungeon Large Dungeon


Home Page


ProcGen 0.1 — 9 Mar, 2014

ProcGen 0.2 — 31 May, 2014 account Comments

  • Nick Jarvis 2014-03-09 19:23:55

    This looks AWESOME! unfortunately the link is broken and I cannot try it! D:

    Paul Paterson 2014-03-09 23:39:03

    Oops. Fixed it now!

  • Iwan 'qubodup' Gabovitch 2015-03-25 07:07:31

    in 0.2 islands crashes on linux.

    /procgen-0.2/serge/blocks/", line 239
    SyntaxError: Non-ASCII character '\xc3' in file /home/qubodup/procgen-0.2/serge/blocks/ on line 239, but no encoding declared; see for details