aboutsummaryrefslogblamecommitdiffstats
path: root/Nodes/ui.tscn
blob: aa402149ce127119b1953517fdab0b6b62adbbc4 (plain) (tree)
1
2
3
4
5
6
7
                                                           

                                                                            


                                                                                                                 
 







                                                            





                                                            































































































































































































                                                          







                                               

                   
                








                                                      
                







                                                                
                                                   







                                                                     
                                                   
 
                                                      


























                                                             
                    

















                                                                

















                                                                       



















                                                                        
[gd_scene load_steps=36 format=3 uid="uid://c8r6i3bu37ogu"]

[ext_resource type="Script" path="res://Scripts/UI_Control.gd" id="1_77hb8"]
[ext_resource type="Texture2D" uid="uid://c3kio08qou6co" path="res://Assets/Images/coin_gold.png" id="2_a17bq"]
[ext_resource type="Texture2D" uid="uid://b3uqu7p6tfjkr" path="res://Assets/Images/coin_silver.png" id="3_8idph"]
[ext_resource type="Texture2D" uid="uid://1g74q4tin44t" path="res://Assets/Images/coin_copper.png" id="4_uvcbf"]

[sub_resource type="LabelSettings" id="LabelSettings_0qmdi"]
outline_size = 3
outline_color = Color(0, 0, 0, 1)

[sub_resource type="LabelSettings" id="LabelSettings_cg3a3"]
outline_size = 3
outline_color = Color(0, 0, 0, 1)

[sub_resource type="LabelSettings" id="LabelSettings_p2s2c"]
font_size = 64

[sub_resource type="LabelSettings" id="LabelSettings_hw7sw"]
line_spacing = 32.0

[sub_resource type="AtlasTexture" id="AtlasTexture_4lenk"]
atlas = ExtResource("2_a17bq")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_gvhou"]
atlas = ExtResource("2_a17bq")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_gn2hm"]
atlas = ExtResource("2_a17bq")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_iwtx4"]
atlas = ExtResource("2_a17bq")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_or3yy"]
atlas = ExtResource("2_a17bq")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_fp142"]
atlas = ExtResource("2_a17bq")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_nusea"]
atlas = ExtResource("2_a17bq")
region = Rect2(192, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_uw6r6"]
atlas = ExtResource("2_a17bq")
region = Rect2(224, 0, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_63rqy"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_4lenk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gvhou")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gn2hm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iwtx4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_or3yy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fp142")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nusea")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uw6r6")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="AtlasTexture" id="AtlasTexture_bidby"]
atlas = ExtResource("3_8idph")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_hqlh4"]
atlas = ExtResource("3_8idph")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_hvfob"]
atlas = ExtResource("3_8idph")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_xq3bh"]
atlas = ExtResource("3_8idph")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_6xk3g"]
atlas = ExtResource("3_8idph")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_3gpmb"]
atlas = ExtResource("3_8idph")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_6byc2"]
atlas = ExtResource("3_8idph")
region = Rect2(192, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_oyl4t"]
atlas = ExtResource("3_8idph")
region = Rect2(224, 0, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_4m8jd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_bidby")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hqlh4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hvfob")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xq3bh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6xk3g")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3gpmb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6byc2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oyl4t")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="AtlasTexture" id="AtlasTexture_jn0wh"]
atlas = ExtResource("4_uvcbf")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_g00bh"]
atlas = ExtResource("4_uvcbf")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_sv28m"]
atlas = ExtResource("4_uvcbf")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_fh7yn"]
atlas = ExtResource("4_uvcbf")
region = Rect2(96, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_1j1nb"]
atlas = ExtResource("4_uvcbf")
region = Rect2(128, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_3fpo5"]
atlas = ExtResource("4_uvcbf")
region = Rect2(160, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_qxmyu"]
atlas = ExtResource("4_uvcbf")
region = Rect2(192, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_u8jap"]
atlas = ExtResource("4_uvcbf")
region = Rect2(224, 0, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_p5whf"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jn0wh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g00bh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sv28m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fh7yn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1j1nb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3fpo5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qxmyu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u8jap")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[node name="UI" type="CanvasLayer"]
follow_viewport_enabled = true

[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_77hb8")

[node name="InGameUI" type="Control" parent="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="CurrentTime" type="Label" parent="Control/InGameUI"]
layout_mode = 0
offset_left = 64.0
offset_top = 17.0
offset_right = 119.0
offset_bottom = 43.0
text = "0:00:00"
label_settings = SubResource("LabelSettings_0qmdi")

[node name="CurrentTimeLabel" type="Label" parent="Control/InGameUI"]
layout_mode = 0
offset_left = 14.0
offset_top = 16.0
offset_right = 69.0
offset_bottom = 42.0
text = "Time: "
label_settings = SubResource("LabelSettings_cg3a3")

[node name="PostGameUI" type="Panel" parent="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Label" type="Label" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.1
anchor_right = 0.7
anchor_bottom = 0.1
offset_right = 40.0
offset_bottom = 23.0
scale = Vector2(1, 1.02025)
text = "LEVEL FINISHED"
label_settings = SubResource("LabelSettings_p2s2c")

[node name="Label2" type="Label" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.3
anchor_right = 0.5
anchor_bottom = 0.3
offset_right = -10.0
offset_bottom = 23.0
scale = Vector2(1, 1.02025)
text = "Final Time:"
label_settings = SubResource("LabelSettings_hw7sw")
horizontal_alignment = 2

[node name="FinalTime" type="Label" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.3
anchor_right = 0.7
anchor_bottom = 0.3
offset_left = 10.0
offset_bottom = 23.0
scale = Vector2(1, 1.02025)
text = "0.00"
label_settings = SubResource("LabelSettings_hw7sw")

[node name="NextLevelButton" type="Button" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.7
anchor_right = 0.45
anchor_bottom = 0.8
text = "Next Level"

[node name="RestartButton" type="Button" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.55
anchor_top = 0.7
anchor_right = 0.7
anchor_bottom = 0.8
text = "Retry"

[node name="Gold" type="AnimatedSprite2D" parent="Control/PostGameUI"]
visible = false
position = Vector2(579, 335)
scale = Vector2(4, 4)
sprite_frames = SubResource("SpriteFrames_63rqy")
frame = 4
frame_progress = 0.556577

[node name="Silver" type="AnimatedSprite2D" parent="Control/PostGameUI"]
visible = false
position = Vector2(579, 335)
scale = Vector2(4, 4)
sprite_frames = SubResource("SpriteFrames_4m8jd")

[node name="Bronze" type="AnimatedSprite2D" parent="Control/PostGameUI"]
visible = false
position = Vector2(579, 335)
scale = Vector2(4, 4)
sprite_frames = SubResource("SpriteFrames_p5whf")