Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A code sample to help users get started with proceedurally generated terrain / chunkloading in Ursina. More complex terrain can be achieved by using a more complicated functionin GameWithChunkloading.get_heightmap(). Supports both Perlin Noise and Open Simplex Noise. Has an optional argument to enable chunk saving/loading in addition to the default pure procgen.
options: -h, --help show this help message and exit -s SEED, --seed SEED Select terrain seed. No seed / a seed of zero results in a random seed. (Int) -d DIVISIONS, --divisions DIVISIONS Number of divisions per chunk edge. (Int) -r RENDERDISTANCE, --renderdistance RENDERDISTANCE Render distance radius in chunks. (Int) -t TERRAINSCALE, --terrainscale TERRAINSCALE Higher values yield rougher terrain. (Float) -y YSCALE, --yscale YSCALE Terrain Y amplification. (Float) -m MAPSCALE, --mapscale MAPSCALE Length of chunk edge. (Float) -n NUMGENERATORS, --numgenerators NUMGENERATORS Length of chunk edge. (Float) -l, --loadchunks Enable example chunk save/load system. -o, --opensimplex Set this flag to use Open Simplex Noise rather than Perlin Noise