Procedural Generation Of Mazes With Unity

Create a procedurally generated maze from scratch with Unity! By Joseph Hocking.

Leave a rating/review
Save for later
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where To Go From Here?

If you've been following along, you should have created the complete game by now. If you want, feel free to download the finished Unity project from this tutorial here.

Going forward, you could explore other maze generation algorithms, replacing the code in FromDimensions(). You could also try generating other environments; start by looking up cave generation using cellular automata.
Randomly generating items and enemies around the map may also prove to be a lot of fun!

I hope you enjoyed this tutorial, and if you have any questions or comments, please join the discussion below!