Random Map Genorator

Hello,

I need some help making an random map genorator. All I need it to do is genorate trees, mountins, biomes, ect. It will also genorate ores and caves underground. It should also store it in squares like dwarf fortress stores and displays the map. How would I go about doing this and saving the map also displaying it efficiently???

-aimmmmmmmmm

P.S. Im not going to make a int for every square. Is there any other way?
P.S. Im not going to make a int for every square. Is there any other way?


Why not? Any tile based map has at least 1 variable to represent each tile. Sometimes it's a single int, some times it's considerably more than that.

Are you asking how to store a map or how to actually generate it randomly? Because they are 2 different questions.
Last edited on
so you're trying to make a minecraft-like generator? depending on size you could use 3d array, but with bigger map that might take a lot of memory, as for generation, that might be a very complex algorithm, like 1 for trees only, 1for ores,...
Last edited on
Well I was thinking more of a dwarf fortress style map.
Topic archived. No new replies allowed.