fixed cloud pop in and terrain textures
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user