Random Map Generation in Java

Posted by Thomas Owers on Game Development See other posts from Game Development or by Thomas Owers
Published on 2012-06-27T15:02:03Z Indexed on 2012/06/27 15:27 UTC
Read the original article Hit count: 425

Filed under:
|
|
|

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.

© Game Development or respective owner

Related posts about java

Related posts about tiles