extends CenterContainer # Called when the node enters the scene tree for the first time. func _ready(): #$cards/card_1/AnimationPlayer.play("select_1") #await$cards/card_1/AnimationPlayer.animation_finished #$cards/card_1/AnimationPlayer.play("deselect_1") #await$cards/card_1/AnimationPlayer.animation_finished #$cards/card_1/AnimationPlayer.play("select_1") #await$cards/card_1/AnimationPlayer.animation_finished #$cards/card_1/AnimationPlayer.play("take_1") #$cards/card_2/AnimationPlayer.play("unshuffle_2") #$cards/card_3/AnimationPlayer.play("shuffle_3") #await$cards/card_1/AnimationPlayer.animation_finished for card in $"post-its".get_children(): card.get_child(1).play("RESET") $"post-its/post-it_1/AnimationPlayer".play("select") await $"post-its/post-it_1/AnimationPlayer".animation_finished await get_tree().create_timer(2).timeout $"post-its/post-it_1/AnimationPlayer".play("pick") $"post-its/post-it_3/AnimationPlayer".play("shuffle") $"post-its/post-it_2/AnimationPlayer".play("unshuffle") $"post-its/post-it_4/AnimationPlayer".play("unshuffle")