|Topic was automatically imported from the old Question2Answer platform.
Hello, I’m new to GDSCript and Python, and game development in general.
I am wondering how to generate a world map for the player in a 2d tile world with biomes, then allow the player to choose where they settle. The settlement map would reflect the terrain/biome of the area the player selected.
Think RimWorld planet or Dwarf Fortress world generation.
I’d like to give the player a large area to build a city, but not too large. Infinite space is not really what I am interested in, only planet sized space.
I’ve heard about Perlin Noise, but most of the things I’ve seen are directed more toward infinite generation. Does anyone have any pointers on where I can find resources (books, tutorials) that can help me accomplish this?
Thanks in advance for any input provided.
I would imagine finite generation is not much different from infinite, just consider a fixed area and don’t bother about chunking?
Zylann | 2019-12-02 13:58
Sure, I suppose the more difficult thing to do is continuity. Like if I see the world map and decide to settle in a swampy biome near the ocean, and then load the local area whose terrain matches the biome/location I selected.
Whitehorn | 2019-12-04 08:14
Is randomness a requirement for your generated world?
Saitodepaula | 2019-12-05 14:13
Yes, it would be great to give the player the option to generate a new world if the one generated isn’t suitable. Once the world is accepted, however, the cities may/may not change, but the land won’t. Thanks for the question!
Whitehorn | 2019-12-07 05:22