Hi, I’ve just started working on a 2d project. Top down not side scroll.
What I’ve been trying to do is randomly generate a map from sprites such as dirt, grass, sand and water.
So far I’ve managed to select a specific sprite (dirt) from a tileset and fill a paper tile map component by going through each row and column in the construction script.
Here is the bp:
Here is the filled tile map:
What I would like to do is add random patches of grass, sand and other terrain types within this space. Kind of like minecraft… but 2d.
I’m sure this is possible but I’m not sure about how I would go about doing it.
I can get terrain types to spawn on single random tiles but not in groups.
Also I would ultimately want to use edges of terrain types. Like the transition from one terrain type to another.
Similar to the following image that I found on google:
Does any one have any ideas?
Thanks!