-1
\$\begingroup\$

So Im making a topdown 2d rpg in slick2d and lwjgl 2, and I wanna make a map, but not just random map, something like this: An example of a map in a game called Realm of the Mad God

The blue stuff is water and rivers, the gray in the middle is "the mountains" and such. How could I create such a map design, but a random one through code. If anyone has an idea of how this is done, please tell me, or even link a tutorial if you know a good one. Thanks.

\$\endgroup\$
1
  • \$\begingroup\$ This question would be more appropriate for a game dev forum, or r/gamedev. That said, depending on how in-depth you want to go with this, www-cs-students.stanford.edu/~amitp/game-programming/… is a very nice tutorial (with links to many more resources) on this sort of procedural map generation. There are many shortcuts that can shorten implementation, and you may find some ideas here pcg.wikidot.com . \$\endgroup\$ Commented Nov 20, 2015 at 22:29

1 Answer 1

1
\$\begingroup\$

The map in your screenshot is from Realm of the Mad God. It was generated from the url that Chris Mills-Price linked to. There's a flash demo on that page, a complete description of the algorithms used, actionscript source code, and links to Java code.

\$\endgroup\$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.