Maze Generator

Dungeons with large Areas

This tutorial focuses on another algorithm to generate dungeons: Those to create dungeons with large areas. Create more Snippets We need some new snippets to draw those dungeons. Those to draw large areas, including edges, corners, inner corners Those to…

Continue reading

Create Specific Object X Times

In this topic, we handle scenarios in which you want some objects to be instantiated a specific number of times. This is useful when… You want to define more precisely how often loot chests, enemies, or points of interest should…

Continue reading

Path in and outside the Map

Today we build a road which goes straight from the south to the north. This Tutorial is best combined with (Not) Persist Maps. Region IDs Setup This function can be used instead of „place Entrance / Exit“. Instead, we build…

Continue reading

Outer Snippets

I haven’t come up with a better name yet. Outer Snippets are snippets to replace the blank area around the dungeon with a set of alternative snippets. There are usually used on field maps, like roads, canyon or a forest.…

Continue reading

Gallery

Here you can find some Code Snippets to copy-paste into your project. If there are lines with a <– symbol in it, read the comment and then remove the arrow and the comment from your command. Mind adjusting variables! Classical…

Continue reading

API Reference

This page shows and explains every JavaScript Call method. Maze Generator / $DungeonGenerator While the Generator has been renamed into „Maze Generator“, the JS code is still „$dungeonGenerator“ for historical reasons. Every Call consists of Algorithms + Parameters Choose from…

Continue reading