3 ms·
This is pretty cool! As someone with virtually no experience in this area I’d love to read the source code, is it open source?
by malux85 2y ago
This is pretty cool! As someone with virtually no experience in this area I’d love to read the source code, is it open source?
- linkdd 2y agoThe code is not opensource but I've written a few articles about it: - Part 1: https://david-delassus.medium.com/procedural-map-generation-in-c-part-1-the-slow-the-bad-and-the-ugly-4445fb15e43a?sk=2ff2c19dc5fe4c706092e83c79c72f56 (perlin noise, then wfc = fail) - Part 2: https://david-delassus.medium.com/procedural-map-generation-in-c-part-2-a-new-hope-with-cellular-automata-and-gpt4-6b3b52c6b357?sk=96ab3bb234c28d9f5dc2dca8f2f19f97 (cellular automata, and let's try to use GPT to write the code = GPT is nice, but not perfect I had to refactor the code a lot) - My own noise function: https://david-delassus.medium.com/i-made-my-own-noise-function-9e6ce4b95a9c?sk=26c5bdd7687445016216cc0b7cb10fa7 NB: Yes it's on medium, my bad :p The `sk` token in the URL is the friend link to bypass the paywall.
- malux85 2y agoThank you!
- nacs 2y agoA fantastic resource for this kind of generation is here: http://www-cs-students.stanford.edu/~amitp/game-programming/polygon-map-generation/ http://www-cs-students.stanford.edu/~amitp/game-programming/...
- seventhtiger 2y agoThis really brought me back. I first came across Amit's page in middle school 20 years ago, and studied it religiously until I built a hexagonal grid with A* in Game Maker (which taught me programming from the ground up by studying Mark Overmars' amazing manual). Today I'm directing an indie game with a team of 10 under me.