Grid MazeGen


You must be logged in to obtain assets


Simple grid based maze generator. Randomised Prim's algorithm is used (Growing Tree variation). Can be easily changed to Recursive Backtracker if you want less dead ends. Code is commented and ready to use in any project or as it is for maze generation.

Possible uses:

  • Learning basic maze generation and how a List data structure works.

  • As it is, for maze generation.

  • As a part of more complex dungeon or city generator.

If you like this asset, don't be shy and leave a review, it helps a lot. :)

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.3. Published July 30, 2016

Added an option to change generation from randomised Prim's to Recursive Backtracker. (scr_carv_gmg)

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait