Unreal Engine Marketplace is moving over to Fab in mid-October. Learn more.

Simple 3D Maze Generator

Playframe Vault - Code Plugins - Sep 27, 2024

Simple Maze Generator: Easily create customizable, procedural mazes with instanced static meshes for optimized performance. Perfect for games, VR, and procedural level design. Includes customizable settings for maze size, complexity, and corner meshes.

  • Supported Platforms
  • Supported Engine Versions
    5.2 - 5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

*Character meshes and materials displayed in the photos are free marketplace assets and aren't included in the plugin content.


V2: New update is out now with settable exits and spawn points.


Simple Maze Generator for Unreal Engine

The Simple Maze Generator is a powerful procedural maze generation tool designed to seamlessly integrate with your Unreal Projects. This plugin allows developers to quickly generate mazes with customizable dimensions and complexities, making it an ideal solution for games, VR experiences, and procedural content generation projects. Built for performance and flexibility, the Simple Maze Generator offers an efficient way to create mazes that can enhance gameplay, exploration, or puzzles in any Unreal Engine project.

 

 

 

Key Features:

  • New in V2: Random and settable exits, create up to 40 exits which you can easily set through an array in the editor.
  • New in V2: An array called CellCentersArray is now available to access through blueprints, you can use it to access cell centers in the maze, for spawning actors, patrol points, or anything else.
  • Procedural Maze Generation: The Simple Maze Generator dynamically generates mazes with user-defined parameters such as width, length, and number of exits. These mazes are different every time they are created, offering a high level of replayability and variety.
  • Instanced Static Meshes for Performance: The plugin leverages Unreal Engine's Instanced static meshes to significantly reduce the rendering cost of large mazes. Even on lower-end machines, the Simple Maze Generator ensures that performance remains smooth and optimized.
  • Customizable Maze Density: Control the complexity and density of your maze to suit different gameplay requirements—from open, spacious layouts to tight, intricate labyrinths.
  • Automatic Exit Placement: The plugin intelligently places exits based on the maze's structure and layout, ensuring exits are well-distributed and offer logical paths through the maze.
  • Corner Meshes for Improved Aesthetics: The Simple Maze Generator features an option to add corner meshes at wall intersections, which helps clean up the appearance of corners and gives the maze a more polished and complete look.
  • Saving the maze to lock it is also possible (see documentation).
  • No limit on the number of mazes on the map in parallel.
  • Control cell size and adjust the walls according to your needs.

 

 

What’s Included:

  • Comprehensive documentation to help you get started quickly.
  • A flexible and commented code for advanced users who want to extend the plugin’s capabilities.
  • A simple setup process that integrates smoothly into your existing Unreal Engine projects.

 

Technical Details

Documentation:


Features:

  • Procedural maze generation using the recursive backtracking algorithm for endless variety and complexity.
  • Instanced mesh generation to improve performance and handle larger maze sizes efficiently.
  • Customizable maze dimensions (width, length).
  • Adjustable maze wall density to control the complexity of the generated maze.
  • Option to add corner meshes to improve visual consistency where walls meet.
  • Variable number of maze exits, allowing flexibility in design and player navigation. (2-8)
  • Randomized maze layouts are generated each time to ensure unique gameplay experiences.
  • Built with optimization in mind, suitable for both small and large-scale environments.

Code Modules:

  • SimpleMazeGenerator (Runtime)

Number of Blueprints:

  • 1

Number of C++ Classes:

  • 1

Network Replicated:

  • No

Supported Development Platforms:

  • Windows
  • macOS

Supported Target Build Platforms:

  • Windows
  • Android
  • Meta Quest 2/3


Please get in touch with me with any inquiries at [email protected]