[gd_scene format=3 uid="uid://dahukl2vrou4p"]

[ext_resource type="Script" uid="uid://b38jughnwxki4" path="res://ui/win.gd" id="1_xn20x"]
[ext_resource type="Texture2D" uid="uid://dfya387e505pw" path="res://ui/win-1.png" id="1_ya36f"]
[ext_resource type="AudioStream" uid="uid://drnobbwj3506h" path="res://audio/win level.ogg" id="3_0mv1c"]
[ext_resource type="Texture2D" uid="uid://dvvrlf35gqjia" path="res://ui/win-2.png" id="4_e1bux"]

[sub_resource type="Animation" id="Animation_5frsq"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AudioStreamPlayer:playing")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Win1:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Win2:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Win2:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}

[sub_resource type="Animation" id="Animation_drf4n"]
resource_name = "win"
length = 9.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AudioStreamPlayer:playing")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Win1:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 2.01),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [true, false]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Win2:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 2.01),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Win2:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(5.95, 7),
"transitions": PackedFloat32Array(1, 0.5),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(0, 0, 0, 1)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_gnhft"]
_data = {
&"RESET": SubResource("Animation_5frsq"),
&"win": SubResource("Animation_drf4n")
}

[node name="Win" type="Node2D" unique_id=921664081]
script = ExtResource("1_xn20x")

[node name="Win1" type="Sprite2D" parent="." unique_id=503104308]
visible = false
position = Vector2(192, 108)
texture = ExtResource("1_ya36f")

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=931758586]
stream = ExtResource("3_0mv1c")

[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1724241284]
libraries/ = SubResource("AnimationLibrary_gnhft")
autoplay = &"win"

[node name="Win2" type="Sprite2D" parent="." unique_id=249449224]
position = Vector2(192, 108)
texture = ExtResource("4_e1bux")

[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]
