Aircraft icon indicating copy to clipboard operation
Aircraft copied to clipboard

[Suggestion] Biome generation based on temperature

Open TheBigEye opened this issue 1 year ago • 0 comments

[IDEA] Biome generation based on temperature

  • Biomes will be generated depending on the temperature level, making transitions appear more natural and true to life.
  • Make a method in LevelGen.java to make creating biomes easier without having to copy and paste for-loops all the time.

So ... In theory, it uses two noise maps to determine the type of biome that is generated at each coordinate of the world. The temperature noise map assigns a temperature value to each coordinate, which varies depending on altitude and latitude (for example, we could use mountains as a reference to colder biomes). The humidity noise map assigns a humidity value to each coordinate, which varies depending on distance to water and precipitation

Small disadvantage: Due to the random nature of procedural noise, it can sometimes generate unexpected or unwanted features. For example, taking into account that the standard size of a world is 256x256 tiles, then at the level of detail we would be very limited, so it would be common for a Tundra biome to be a few tiles away from a Desert one (A small solution would be to have subbiomes and within these transitions on the edges).

TheBigEye avatar Aug 03 '23 02:08 TheBigEye