fixed cloud pop in and terrain textures

This commit is contained in:
derek
2025-04-11 15:46:23 -05:00
parent fb67ce392a
commit bcc9d788a9
22 changed files with 257 additions and 261 deletions

View File

@@ -11,7 +11,10 @@ func spawn_clouds():
number_of_clouds -= 1
var spawn_pos = random_box_pos()
var set_pos = self.global_position + spawn_pos
var cloud = cloud.instantiate()
cloud.visible = false
add_child(cloud)
cloud.global_position = self.global_position + spawn_pos
cloud.global_position = set_pos
await cloud.global_position == set_pos
cloud.visible = true