Maze Generator

MerryWeb - Blueprints - Sep 25, 2023

Generate a random maze within your project level using this single Blueprint actor.

  • Supported Platforms
  • Supported Engine Versions
    5.0 - 5.4
  • Download Type
    Asset Pack
    This product contains an assortment of Unreal Engine assets which can be imported into a pre-existing project of your choice.

The Maze Generator is a single blueprint actor that you can drag into your third-person project level in order to create a random navigable maze. It uses the Aldous-Broder algorithm to ensure a clear path from entrance to exit, and provides 5 parameters with which to change the look and feel of each maze: size (x and y), path width, wall height and wall style. We have worked to develop a blueprint with a simple structure and detailed commentary to assist developers in following the underlying process of maze generation.


Watch Tutorial

Read Overview

Visit our Discord Server


We intend to incorporate additional maze generation algorithms and features as this product evolves, but offer it here at a reasonable starting price so that early adopters can benefit from future changes whilst avoiding potential price increases.

The gallery images above feature Quixel Megascan textures that are freely available through the Quixel Bridge, however, this asset pack comes complete with our own wall/hedge meshes and textures.

Technical Details

Features:

  •  Generates a random maze using the Aldous-Broder algorithm.
  •  Maze sizes up to 5000 x 5000 UE units. *
  •  4 wall styles included: Hedge, Brick, Blue and Stone
  • Wall heights from 50 to 400 UE units.
  • Path widths from 150 to 300 UE units.
  • Blueprint is well structured and commented.
  • Third-person demonstration level included.
  • This product supports Nanite for Unreal Engine 5.0+ (see UE5.2 Nanite Documentation)


Updates:

v1.1 - released 22/10/2023

  • adds the ability to lock a maze from the details panel of the main BP_MazeGenerator blueprint.
  • minor changes to the geometry of wall static meshes.
  • additional blueprint commentary.


Number of Blueprints: 2

Input: Keyboard, Mouse

Network Replicated: No

Supported Development Platforms:

Windows: Yes

Mac: No


* Note that large mazes using the hedge wall-type can impact performance.


Documentation: Maze Generator Introduction

Tutorial: Watch Here