Start with first room and connect it to the nearest room that doesn’t already have a connection. Ian Shadden suggested a simple algorithm.
#Random dungeon generator algorithm free#
However, you are free to draw whatever you wish. The technique the plugin uses is pretty straight-forward: It expects each primitive element (straight, curve, fork, …) on a specific place, which means to get a logical map you must stick with this arrangement. Draw snippets as shown in the picture below.This map has a width ofĪnd height respectively, in our case that would be 33 for both, width and height. This plugin organizes some maps by their names, so you cannot use another name here. We decide the size of all the snippets, let’s use 7 for both width and height.A snippet is a fundamental base element of the resulting maze, in detail: straights, curves, dead-ends, T-forks, and one crossing. The idea of this plugin is to pre-define snippets and decoration layers which this plugin will randomly connect to create appealing dungeons to explore. Go into your Plugin Manager and import all Plugins starting with „MK_“ in their titles. I also recommend you to open my Demo project in the Maker when steps are unclear. As using this plugin is not plug-and-play as most other plugins out there, I recommend you to read every step carefully.
Welcome to this tutorial about adding randomly generated Dungeons into your RPG Maker project.