S
S
Sergey Ivanov2019-05-03 20:19:35
Algorithms
Sergey Ivanov, 2019-05-03 20:19:35

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

2 answer(s)
D
dollar, 2019-05-03
@dollar

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.

A
Alexander Taratin, 2019-05-03
@Taraflex

2d diamond square

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question