Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Biome generation based on temperature #37

Open
TheBigEye opened this issue Aug 3, 2023 · 0 comments
Open

[Suggestion] Biome generation based on temperature #37

TheBigEye opened this issue Aug 3, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@TheBigEye
Copy link
Owner

TheBigEye commented Aug 3, 2023

[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 TheBigEye self-assigned this Aug 3, 2023
@TheBigEye TheBigEye added the enhancement New feature or request label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🗒️In progress
Status: 🗒️In progress
Development

No branches or pull requests

1 participant