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
Depends what kind of a map. Most often either some sort of noise is used, sometimes wave function collapse, sometimes a pathfinding algorithm
in more detail
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.
thank you, but I will not copy