Answer the question
In order to leave comments, you need to log in
Unity how to make world generation like in terraria?
how to generate resources by depth and rarity
+ how to make seeds and caves
Answer the question
In order to leave comments, you need to log in
Answer: difficult.
If you have played, you will have noticed that world generation is a set of consecutive (10-20) stages. First, biomes are formed, then caves are cut into them, then they are filled with water somewhere, then grass is planted, etc. Each stage is a separate complex algorithm. And in fact, this is the know-how of the game, which is its cost. If these algorithms were simple and well known, then we would have a bunch of Terraria clones.
But in general, there is nothing complicated. You just need to sit down and think about how specifically for your particular game, taking into account the gameplay and other things, it will be more convenient to implement it. And this is work - somewhere at the junction of the chief programmer and designer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question