This is a Dungeon Generator for Unity 2D, It comes with a playable example scene.
Customize the rooms to be a square or random;
You can change the size of the rooms or the distance between them;
The floor/corridor/topWall/bottomWall tilemap accept an array of tiles, making the dungeon even more unique;
At the start the algorithm spawns the player and the end point inside the dungeon;
You can also choose the offset of the dungeon.
You can spawn enemies on a given tilemap (the floor for example), check the example scene!
![](https://img.itch.zone/aW1nLzYzMTA2MDUuZ2lm/original/GtEgW0.gif)
![](https://img.itch.zone/aW1nLzYzMTA2MDMuZ2lm/original/O519v7.gif)
![](https://img.itch.zone/aW1nLzYzMTA2MDcuZ2lm/original/xacY6M.gif)
![](https://img.itch.zone/aW1nLzYzMTA2MTEuZ2lm/original/Hsz0mR.gif)