Jump to content
  • Advertisement
Sign in to follow this  
too_many_stars

Random tile 2D map help

This topic is 2159 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys,

 

I am not sure if anyone here remembers games like Master of Magic, Civilization etc. where before you begin a game, the computer generates a "random" 2D tile based map. What's so interesting about the process is how land masses are cohesive in the middle of oceans, along with forests, mountains etc. Of course, then you have rivers flowing into the land masses, random towns...it's quite incredible when you consider the complexity.

 

From a noobs perspective, I would imagine the algorithms are incredibly difficult but worth a look or consideration non the less. Does anyone know of a good tutorial, source, or some thoughts on where to get started with something of this nature?

 

Please note I am not looking for a dungeon generator.

 

Thanks,

 

Mike

Share this post


Link to post
Share on other sites
Advertisement

The usual first resource I tend to send people after when generating outdoor wilderness-type areas is, of course, Perlin noise. While it's not perfect, it does provide a pretty good basis for the kinds of continuous-yet-random patterns found in nature.

 

For reference, a few picks from my own journal and stuff:

 

http://www.gamedev.net/blog/33/entry-2249260-procedural-islands-redux/

http://www.gamedev.net/blog/33/entry-1895315-rivers/

http://www.gamedev.net/blog/33/entry-1763385-islands/

 

My own Perlin noise library:

https://code.google.com/p/accidental-noise-library/

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!