Posts: 282
Threads: 11
Joined: Apr 2010
A silly project I coded up that might be used for a game. It generates maps in the style of Final Fantasy (i.e. it wraps around). It is awesome
DOWNLOAD HERE!!!
The program to run is visualizer.exe. RIght now it is a quick compile and the code pretty unoptimized (it runs in O(width*length*height)) so I wouldn't recommend running it with the max dimensions (which is 200x200x200.) Even 100x100x100 seems a delayed. The program is a command line interface, except when it displays the map. The usage should be intuitive, let me know if it's not!
Here are some examples of what it generates (they are pretty sweet!)
ahaha, that's funny, but does it have 'deserts' or other biomes?
Posts: 537
Threads: 5
Joined: Sep 2012
Huh, that's neat! I've got to admit that I probably won't have much use for it, though.
Posts: 282
Threads: 11
Joined: Apr 2010
At the moment it's only capable of generating landmasses. I'm planning on reading up various map generating techniques to add more depth to this (and possibly make a basic exploration game out of it!)
I think that if you make a tiny RPG game, and creating an app that interpretes each of the square's shades as space, you could do a lot of cool things.
Posts: 282
Threads: 11
Joined: Apr 2010
What do you mean, interpret as space? In the meantime, I did some work on a basic exploration controls, now I can be trapped on islands:
send help
i mean, you genereate a map image, and every pixel represents, for example, an area of 10x10 tiles. Depending the color and the shade, it can be a forest, mountains etc. This way you could make a mini RPG game with a randomly generated map every time.
In theory you'll need a 'scanner' app that can read each pixel in the generated map and generate an area according to the color and shade.
Posts: 282
Threads: 11
Joined: Apr 2010
Ah, so you mean the world map is a metamap for smaller maps. Yeah, that sounds like a fun thing to do in the future, the program saves the map as an array so interpreting it is easy, I'll just need an efficient way of saving the metatile data.
Posts: 969
Threads: 35
Joined: Mar 2010
You know, most games featuring randomly-generated open exploration maps tend to be about a single person surviving on their own. What if you used a similar formula to old pioneering/settlement games? Maybe even one where you try to grow a small town into your own empire? Maybe I'm thinking too ambitiously, but it would be something new.