Question about Map Generation
Posted: Sun Jun 02, 2019 8:17 pm
Hi,
I am currently developing an own game which is in a similar genre like Factorio, but with different machines, with different processing methods and on the moon, and I am struggling to get my resource generation done...
So basically I am generating the locations of the ore patches with Simplex Noise, similar to the method you described in the wiki, but I cannot manage to handle the indexing of ore patches, especially when an ore patch is stretching over multiple chunks. My first method was to flood fill an ore patch with a random resource, but when an adjacent chunk is generated, the patch turns into a different resource in the other chunk.
So I wanted to ask you, how did you manage to index or define the type of ore in an ore patch.
Thanks in regards!
Greetings
BitTim
I am currently developing an own game which is in a similar genre like Factorio, but with different machines, with different processing methods and on the moon, and I am struggling to get my resource generation done...
So basically I am generating the locations of the ore patches with Simplex Noise, similar to the method you described in the wiki, but I cannot manage to handle the indexing of ore patches, especially when an ore patch is stretching over multiple chunks. My first method was to flood fill an ore patch with a random resource, but when an adjacent chunk is generated, the patch turns into a different resource in the other chunk.
So I wanted to ask you, how did you manage to index or define the type of ore in an ore patch.
Thanks in regards!
Greetings
BitTim