- Home /
Random 2d world generating with tilemaps
Hello,
I'm trying to figure out how to create a randomly generated, 2D, top down world, but I have only found dungeon generation tutorials or Terraria clones, which is not what I'm looking for. Can anyone help?
Are you looking for a way to create your own map? Like with grass, hills and water etc? Only not really hills of course, just a tile :P If so you could check out some procedural map generation video's and check out the bits about Perlin Noise. You could use the differences in "height" to assign different tiles. Perlin Noise will give a value from 0 to 1 for a coordinate given, so you could try setting water at 0, snow peaks at 1 and everything else with grass for instance. $$anonymous$$aps like this: https://i.stack.imgur.com/IcJR6.png