I'm a new game developer. I am working on my first game at the moment. It's sort of a Risk like game, but I have added my own elements. Also sort of Starcraft inspired. I want a random world generator for maps, but I'm having a little trouble making a generator. Tips?
Answer
Basically you will want some sort of random that you can use to generate your world. In the realm of games Perlin Noise is fairly common as a starting point for such a thing. Minecraft is a pretty well known game that use/used this kind of technique as well.
I am not sure if you are doing 2D or 3D but the algorithm follows in suit. There is an article about the world generation for the game Realm of the Mad God that is also very useful to gather information on random world generation.
Another noise algorithm you may come across is Simplex Noise. Here is an article on it in C++/Python (since I am not sure which language you are interested in).
There is actually quite a bit of information out there. I find all this stuff fascinating and so have collected a good amount of URLs on the topics around it. I hope some of these will help you out.. The article on the Realm of the Mad God generation is fairly interesting in a thought provoking way as well (ie, what can I do with this set of algorithms).
Hope this helps.
No comments:
Post a Comment