Procedural Random Dungeon Generator – Tutorial Part 1

Hi everyone,
and welcome to this instruction to implement random generated dungeons in your RPG Maker project. As using this plugin is not plug and play as most other plugins out there, I recommend you to read every step carefully. I also recommend you to open my Demo project in the Maker when steps are unclear.

Requirements

Please download and add every listed requirement to your Project.

Setup

Step 1: Import Plugins

Go into your Plugin Manager and import all required Plugins in this order:

  • Shaz TileChanger
  • MK_Core
  • MK_RandomGenerate_Dungeon

Step 2: Snippets

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. A snippet is a fundamental base element of the resulting maze, in detail: straights, curves, T-forks and one crossings.

  1. We decide the size of all the snippets, let’s use 7 for both width and height.
  2. We create a map called “Ice Cavern snippets” (you can use any name) with the width of
    (4 * snippet's width) + 5
    and height respectively, in our case that would be 33 for both, width and height.
  3. Draw snippets as shown in the picture below.
    Tips:
    • Each tile represents one method of possible movement: Dead Ends, curves, straights, forks and a Crossing.
    • The yellow sand is to help you framing your snippets. You can use any tile here; just pick one with a high contrast.
    • This plugin uses functions to fix autotiles, so you don’t have to worry about them.
    • Same goes for shadows, they will be automatically erased when the map is generated.
  4. You maybe wondered if the map will later look clipped or repetetiv, so you can repeat step 3 and make another map with snippets. This plugin then will randomly choose from all your maps to reach more variety.
  5. Decide for the size of the generated dungeon, ie. how many tiles are there for any column and line, let’s use 6 for both.
  6. Create a Map called “Space” with the width of
    snippet's width * columns + 2
    and height respectively, in our case that would be 44 for both. Use the same tileset as in the snippets map. Keep this map black.

Leave a comment

Your email address will not be published. Required fields are marked *