This is a random maze generator tool made for GameMaker Studio 1.4 and 2.0. It currently has the following features:

  • 3 algorithms for maze generation:
    • Recursive Backtracking
    • Prim
    • Growing Tree
  • Add/remove border
  • Add/remove entrances on all 4 sides of the maze
  • Control width and height  separately
  • Supports different tile sizes
  • Fits into room size

Limitations:

  • Width and height must be odd numbers
  • Room width/height aspect ratio must be the same one as the maze*

The tool is composed of 3 scripts (one for each algorithm) and some macros. In the project below there will be additional content, as tiles, objects and rooms, in order to provide examples on how to use the scripts. 

More info in the Instructions section.

*This only applies if you are not using views and wish the maze to take the whole room without looking stretched


INSTRUCTIONS

A simple tutorial on how to create one of the algorithms in GameMaker:

https://medium.com/@lucasnazatoart/tutorial-create-a-random-maze-generator-using...


CREDITS

This project was developed completely by me, but it was made possible through these tutorials:


If you would like to help consider leaving a tip here or over on Ko-fi. Thanks!

I also have 3D assets available on my Ko-fi page (Blend files, 3D models and textures).
StatusIn development
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorLucasNazatoArt
Made withAseprite, GameMaker
TagsGameMaker, Generator, maze, Procedural Generation

Download

Download NowName your own price

Click download now to get access to the following files:

[GMS1.4]Random Maze Generator_v3.gmz 15 kB
[GMS2]Random Maze Generator_v3.yyz 166 kB

Development log