Randomly generating flat landmasses

Hello everyone, I’ve been working on a village building game in Unity3D, C3, and I’d like to have random island generation, much like that found on Kingdoms and Castles.

alt text

I’ve been thinking that maybe I can make a 2D grid that makes up the ground that contains data on what type of tile it would be and the terrain generator script can randomly generate those values in a way that would form landmasses such as those shown above.

Any tips, methods, or guidance would be greatly appreciated. Thank you!

Using perlin noise to create a noisemap (Sebastian Lague’s tutorial) is the best answer for this kind of problem.