Question about Map Generation

Things that are not directly connected with Factorio.
Post Reply
BitTim
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon May 13, 2019 1:12 pm
Contact:

Question about Map Generation

Post by BitTim »

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

Post Reply

Return to “Off topic”