Jump to content

Random Map Generator


drseuss

Recommended Posts

Ok, I have a basic idea of what I should do for this.

 

But I also do not believe it is an efficient way of doing this.

 

My basic idea:

 

Set all tiles to unsigned

Place a few random land seeds

Check all adjacent tiles to see if unsigned

if unsigned, give it a property (land water whatever) (70% chance to be water, if land make unsigned tiles around it land)

 

Like I said... basic. I just don't know how i would make the land stop growing after it starts... I don't know how I would make the land look more natural (not so square)... and shore lines I think are going to be hard.

 

I don't want the code for a random generator... Just help understanding how this process would be completed (a push in the right directions)

 

Thank you for any and all help from everyone in advance;

drseuss

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.