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

[ext_resource type="Script" uid="uid://cwr02si68f88c" path="res://ui/lose.gd" id="1_eeh5o"]
[ext_resource type="Texture2D" uid="uid://blb0p3vcmu3ce" path="res://ui/lose.png" id="2_ke4lt"]
[ext_resource type="AudioStream" uid="uid://caem51p7rhp1" path="res://audio/game over.ogg" id="3_inat2"]

[sub_resource type="Animation" id="Animation_envqo"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AudioStreamPlayer:stream")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("3_inat2")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AudioStreamPlayer:playing")
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("Lose:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}

[sub_resource type="Animation" id="Animation_0a6sx"]
resource_name = "lose"
length = 8.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AudioStreamPlayer:stream")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("3_inat2")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AudioStreamPlayer:playing")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Lose:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(3.69, 6),
"transitions": PackedFloat32Array(1, 0.5),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(0, 0, 0, 1)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_dxb07"]
_data = {
&"RESET": SubResource("Animation_envqo"),
&"lose": SubResource("Animation_0a6sx")
}

[node name="Lose" type="Node2D" unique_id=693861069]
script = ExtResource("1_eeh5o")

[node name="Lose" type="Sprite2D" parent="." unique_id=1026004331]
position = Vector2(192, 108)
texture = ExtResource("2_ke4lt")

[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=69639225]
libraries/ = SubResource("AnimationLibrary_dxb07")
autoplay = &"lose"

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

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