Forming random, but contiguous shapes?


(TaylorAnderson) #1

So I’m working on a game that requires procedural environment generation. For trees and grass I basically just made each tile be random but with a 3/4 chance for it to be grass. But now I need bodies of water, and I’m entirely unsure how to generate them in randomly shaped bunches. Are there algorithms for this kind of stuff? I searched around for a bit but I’m entirely unsure how to google this, and I know you guys are infinitely helpful so…I’m askin for some help.


(Zachary Lewis) #2

Read this article until you understand all of it.

Polygonal Map Generation for Games


(TaylorAnderson) #3

Sounds interesting, but way too complicated for my simple purposes :stuck_out_tongue: I’m tryin out some custom stuff first


(Mike Evmm) #4

“Like” does not reflect how much I like this.


(TaylorAnderson) #5

I basically just ended up using randomly placed rectangles with random width and height, turned out not to really need anything more