Cave Map Generator
Backstory:
This is the piece of software I developed as the basis for my computer engineering graduation thesis in 2021. The thesis can be found here if you would like to check it out.
It started out with my friend (https://denyson.itch.io) and me following the "Make a game like Legend of Zelda using Unity and C#" tutorials by "Mister Taft Creates". We only followed the beginning and then stopped. Later, I was lost and had no clue what project to make for my thesis. That's when I stumbled upon the "Procedural Cave Generation" tutorials by "Sebastian Lague". I decided to try and mix these two and build something based on them.
The tutorials served as the foundation for the project. Afterward, it developed into its own entity, and we conducted questionnaires on the map's qualities and whatnot. The implementation details and all references can be found in the thesis.
Now, after two years since my graduation, I've decided to actually create a menu and share this project.
How to use it?
Menu
Clicking on Try it out! will take you to the generated map.
Clicking on Customize will open the map customization menu:
- Adjust the map size (by tiles) by moving the height and width sliders.
- The minimum value is 10 and maximum is 100.
- The use random seed checkbox will let you control if the generated map will be random every time or use the seed you provide.
- The input field lets you write any string to be used as a seed for the randomizer.
- The fill percent slider lets you control how filled with walls your map is.
- Less fill means that there will be more ground to walk on.
- More means less ground to walk on.
Generated Map
Here, you can explore the generated map.
- Use WASD or the arrow keys to move around.
- Click on the screen with your left mouse button to generate a new map.
- You might be stuck inside the walls lol
- Press b to return to the customization menu.
- Use the mouse scroll to zoom out and see the map from a distance.
- Press space to do a sword attack at nothing👍
Tileset used
Thats it,
Thanks!
Status | Prototype |
Platforms | HTML5 |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | vmrfreitas |
Genre | Educational |
Made with | Unity |
Tags | Generator, Procedural Generation |
Leave a comment
Log in with itch.io to leave a comment.