Search Unity

[Released] Custom Maze Generator

Discussion in 'Assets and Asset Store' started by Jesterway, Jul 31, 2022.

  1. Jesterway

    Jesterway

    Joined:
    Dec 14, 2021
    Posts:
    2
    c389361e-9999-4cbb-9a6f-0e35050ebfcb_orig_scl.jpg

    Custom Maze Generator

    This editor tool allows you to generate mazes of any size, including VERY large ones, while being as ressource-efficient as possible.


    It works with a modular two-step process:

    1. You specify a logical size for the maze and a chance for the number of dead-ends in it. Then, with the click of a button, calculate a "mazefile" which holds the layout.
    This calculation is a matter of milliseconds.

    2. Mazefiles can then be displayed, as many times as you like, with various parameters for wall height and -thickness, distance inbetween, material assignments, etc. You can display them in just the right manner for your game.


    This tool is optimized to display your generated mazes with as few gameobjects as possible. Though this option can be toggled off, should you wish for more granular control, with smaller wall segments.

    You can assign any material to the walls and the floor, with additional options to automatically adjust UV scaling for uniform texture tiling and correct orientation.

    This tool doesn't make use of any prefabs - everything is created by code.

    Other features:
    • Specific options to create inactive walls at all gaps in the maze. These can be useful, should you want to open or close certain passages at a later time.
    • Option to create smaller inner walls within the regular walls, should you wish to work with partially transparent materials to simulate a hedge - this can give a nice visual effect to the viewer.
    • All walls are uniquely named in the hierarchy and ordered by orientation, either X or Y.
    • Position and Rotation of the whole structure can be specified beforehand.

    ...and more.



    Don't get lost in the maze! :0
     
    Last edited: Jul 31, 2022