Random Map Generation in Java
- by Thomas Owers
I'm starting/started a 2D tilemap RPG game in Java and I want to implement random map generation. I have a list of different tiles, (dirt/sand/stone/grass/gravel etc) along with water tiles and path tiles, the problem I have is that I have no idea where to start on generating a map randomly.
It would need to have terrain sections (Like a part of it will be sand, part dirt etc) Similar to how Minecraft is where you have different biomes and they seamlessly transform into each other. Lastly I would also need to add random paths into this as well going in different directions all over the map.
I'm not asking anyone to write me all the code or anything, just piont me into the right direction please.
tl;dr - Generate a tile map with biomes, paths and make sure the biomes seamlessly go into each other.
Any help would be much appreciated! :) Thank you.