Much stuff wow
This commit is contained in:
parent
7255cbdf64
commit
734730beee
45 changed files with 697 additions and 119 deletions
|
|
@ -41,9 +41,10 @@ func _ready():
|
|||
generate_map()
|
||||
generate_paths()
|
||||
generate_water_bodies()
|
||||
BiomeGenerationClass.generate_environment_maps(map_width, map_height)
|
||||
generate_final_map_data()
|
||||
|
||||
|
||||
|
||||
#if export_image:
|
||||
# export_map_as_image()
|
||||
|
||||
|
|
@ -52,7 +53,7 @@ func generate_final_map_data():
|
|||
|
||||
for y in range(map_height):
|
||||
for x in range(map_width):
|
||||
MapPopulationClass.generate_cell(x, y, map_data[y][x], is_path_at(x, y), is_water_at(x, y))
|
||||
MapPopulationClass.generate_cell_with_distribution(x, y, map_data[y][x], is_path_at(x, y), is_water_at(x, y))
|
||||
|
||||
# Check immediately after
|
||||
await get_tree().process_frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue