2020-11-01 03:16:29 +00:00
|
|
|
[gd_scene load_steps=11 format=2]
|
2020-09-14 15:21:59 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://src/HUD/HUD.gd" type="Script" id=1]
|
2020-09-27 21:29:46 +00:00
|
|
|
[ext_resource path="res://src/Menu/PauseMenu.tscn" type="PackedScene" id=2]
|
2020-09-14 15:21:59 +00:00
|
|
|
[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]
|
2020-09-29 01:36:57 +00:00
|
|
|
[ext_resource path="res://assets/HUD/lifes_icon.png" type="Texture" id=5]
|
2020-10-04 02:50:07 +00:00
|
|
|
[ext_resource path="res://assets/HUD/time_hud.png" type="Texture" id=6]
|
2020-11-01 03:16:29 +00:00
|
|
|
[ext_resource path="res://assets/HUD/orb_icon.png" type="Texture" id=7]
|
2020-09-29 01:36:57 +00:00
|
|
|
|
|
|
|
[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 ) ]
|
|
|
|
}
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-10-04 02:50:07 +00:00
|
|
|
[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 ) ]
|
|
|
|
}
|
|
|
|
|
2020-11-01 03:16:29 +00:00
|
|
|
[sub_resource type="Animation" id=3]
|
|
|
|
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 ) ]
|
|
|
|
}
|
|
|
|
|
2020-09-14 15:21:59 +00:00
|
|
|
[node name="HUD" type="CanvasLayer"]
|
|
|
|
script = ExtResource( 1 )
|
2020-09-27 21:29:46 +00:00
|
|
|
PauseMenu = ExtResource( 2 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-09-29 01:36:57 +00:00
|
|
|
[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"]
|
2020-09-14 15:21:59 +00:00
|
|
|
margin_left = 18.0
|
2020-10-04 02:50:07 +00:00
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = 32.0
|
2020-09-14 15:21:59 +00:00
|
|
|
margin_bottom = 22.0
|
2020-09-29 01:36:57 +00:00
|
|
|
texture = ExtResource( 4 )
|
2020-10-04 02:50:07 +00:00
|
|
|
expand = true
|
2020-09-14 15:21:59 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-29 01:36:57 +00:00
|
|
|
[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 )
|
2020-09-14 15:21:59 +00:00
|
|
|
|
2020-09-29 01:36:57 +00:00
|
|
|
[node name="Deaths" type="TextureRect" parent="UI"]
|
2020-11-01 03:16:29 +00:00
|
|
|
margin_left = 83.0
|
|
|
|
margin_top = 7.0
|
2020-10-04 02:50:07 +00:00
|
|
|
margin_right = 102.0
|
|
|
|
margin_bottom = 26.0
|
2020-09-29 01:36:57 +00:00
|
|
|
texture = ExtResource( 5 )
|
|
|
|
expand = true
|
|
|
|
|
|
|
|
[node name="DeathsLabel" type="Label" parent="UI"]
|
2020-10-04 02:50:07 +00:00
|
|
|
margin_left = 107.0
|
|
|
|
margin_top = 13.0
|
|
|
|
margin_right = 147.0
|
|
|
|
margin_bottom = 27.0
|
2020-09-14 15:21:59 +00:00
|
|
|
theme = ExtResource( 3 )
|
|
|
|
text = "0"
|
2020-09-29 01:36:57 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="UI/DeathsLabel"]
|
2020-10-04 02:50:07 +00:00
|
|
|
anims/updated = SubResource( 2 )
|
|
|
|
|
2020-11-01 03:16:29 +00:00
|
|
|
[node name="Orbs" type="TextureRect" parent="UI"]
|
|
|
|
margin_left = 150.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = 164.0
|
|
|
|
margin_bottom = 22.0
|
|
|
|
texture = ExtResource( 7 )
|
|
|
|
expand = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="OrbsLable" type="Label" parent="UI"]
|
|
|
|
margin_left = 171.0
|
|
|
|
margin_top = 13.0
|
|
|
|
margin_right = 211.0
|
|
|
|
margin_bottom = 27.0
|
|
|
|
theme = ExtResource( 3 )
|
|
|
|
text = "0"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="UI/OrbsLable"]
|
|
|
|
anims/updated = SubResource( 3 )
|
|
|
|
|
2020-10-04 02:50:07 +00:00
|
|
|
[node name="Time" type="TextureRect" parent="UI"]
|
2020-11-01 03:16:29 +00:00
|
|
|
margin_left = 412.0
|
2020-10-04 02:50:07 +00:00
|
|
|
margin_top = 8.0
|
2020-11-01 03:16:29 +00:00
|
|
|
margin_right = 427.0
|
2020-10-04 02:50:07 +00:00
|
|
|
margin_bottom = 23.0
|
|
|
|
texture = ExtResource( 6 )
|
|
|
|
expand = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="TimeLabel" type="Label" parent="UI"]
|
2020-11-01 03:16:29 +00:00
|
|
|
margin_left = 434.0
|
2020-10-04 02:50:07 +00:00
|
|
|
margin_top = 13.0
|
2020-11-01 03:16:29 +00:00
|
|
|
margin_right = 474.0
|
2020-10-04 02:50:07 +00:00
|
|
|
margin_bottom = 27.0
|
|
|
|
theme = ExtResource( 3 )
|
|
|
|
text = "0"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|