Increased the world scale back to 3, also increased the chunk spawn range by one on the y axis.

This commit is contained in:
Relintai 2020-01-30 16:50:50 +01:00
parent 0a70b611da
commit 4805bb8e81
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ use_threads = false
max_concurrent_generations = 1
library = ExtResource( 2 )
level_generator = SubResource( 1 )
voxel_scale = 2.0
voxel_scale = 3.0
chunk_spawn_range = 3
script = ExtResource( 8 )

View File

@ -119,7 +119,7 @@ func _create_chunk(x : int, y : int, z : int, pchunk : Node) -> VoxelChunk:
func spawn() -> void:
for x in range(-chunk_spawn_range, chunk_spawn_range):
for z in range(-chunk_spawn_range, chunk_spawn_range):
for y in range(-1, 1):
for y in range(-1, 2):
create_chunk(x, y, z)
set_process(true)