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

This article needs to be revised. 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…

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. Algorithms The Algorithms are described here: Algorithms Maze Generator / $DungeonGenerator Entrance, Exit, and makeWayOut Choose if you want to draw Entrance and Exit, or if you want to have pathways…

Continue reading