C
C#3w ago
arab

map generation

Hello. I recently did a project with random map generation but it didn't work. Can someone tell me how to make a random template map generation? Also, everything takes place in a cave with room templates. And I'm in no way saying to write the code for me, just tell me how it works in other games. Thanks in advance.
4 Replies
Angius
Angius3w ago
Depends what kind of a map. Most often either some sort of noise is used, sometimes wave function collapse, sometimes a pathfinding algorithm
arab
arabOP3w ago
in more detail
Angius
Angius3w ago
I implemented a map generator once, here's the source code: https://github.com/Atulin/Mapgen
GitHub
GitHub - Atulin/Mapgen
Contribute to Atulin/Mapgen development by creating an account on GitHub.
arab
arabOP3w ago
thank you, but I will not copy

Did you find this page helpful?