
Random Maze Generator
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:
- HeartBeast's Random Level Generation in Youtube
- Jamis Buck's blog on Maze Algorithms
Future Updates
- Create a documentation/instruction document to better explain the contents of the project
Any feedback/criticism is welcome. I'm available for questions if you have any.
Status | In development |
Category | Tool |
Platforms | HTML5 |
Author | LucasNazatoArt |
Made with | Aseprite, GameMaker: Studio |
Tags | GameMaker, Generator, maze, Procedural Generation |
Download
Click download now to get access to the following files:
Development log
- [#notGDC] Tutorial for RMGMar 26, 2018
- GMS 2 Version AddedFeb 24, 2018
- Fixes / Faster algorithmsJan 23, 2018
- Small Update (Commented Code)Dec 27, 2017
- New Version!Dec 26, 2017