[gd_scene load_steps=9 format=2]

[ext_resource path="res://src/HUD/HUD.gd" type="Script" id=1]
[ext_resource path="res://src/Menu/PauseMenu.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/Theme/Theme.tres" type="Theme" id=3]
[ext_resource path="res://assets/HUD/coins_hud.png" type="Texture" id=4]
[ext_resource path="res://assets/HUD/lifes_icon.png" type="Texture" id=5]
[ext_resource path="res://assets/HUD/time_hud.png" type="Texture" id=6]

[sub_resource type="Animation" id=1]
resource_name = "updated"
length = 0.2
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.2 ),
"transitions": PoolRealArray( 0.466517, 1 ),
"update": 0,
"values": [ Vector2( 2, 2 ), Vector2( 1, 1 ) ]
}

[sub_resource type="Animation" id=2]
resource_name = "updated"
length = 0.2
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 2, 2 ), Vector2( 1, 1 ) ]
}

[node name="HUD" type="CanvasLayer"]
script = ExtResource( 1 )
PauseMenu = ExtResource( 2 )

[node name="UI" type="NinePatchRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Coin" type="TextureRect" parent="UI"]
margin_left = 18.0
margin_top = 8.0
margin_right = 32.0
margin_bottom = 22.0
texture = ExtResource( 4 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="CoinLabel" type="Label" parent="UI"]
margin_left = 38.0
margin_top = 13.0
margin_right = 44.0
margin_bottom = 22.0
theme = ExtResource( 3 )
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="AnimationPlayer" type="AnimationPlayer" parent="UI/CoinLabel"]
anims/updated = SubResource( 1 )

[node name="Deaths" type="TextureRect" parent="UI"]
margin_left = 80.0
margin_top = 4.0
margin_right = 102.0
margin_bottom = 26.0
texture = ExtResource( 5 )
expand = true

[node name="DeathsLabel" type="Label" parent="UI"]
margin_left = 107.0
margin_top = 13.0
margin_right = 147.0
margin_bottom = 27.0
theme = ExtResource( 3 )
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="AnimationPlayer" type="AnimationPlayer" parent="UI/DeathsLabel"]
anims/updated = SubResource( 2 )

[node name="Time" type="TextureRect" parent="UI"]
margin_left = 152.0
margin_top = 8.0
margin_right = 167.0
margin_bottom = 23.0
texture = ExtResource( 6 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="TimeLabel" type="Label" parent="UI"]
margin_left = 174.0
margin_top = 13.0
margin_right = 214.0
margin_bottom = 27.0
theme = ExtResource( 3 )
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}
