diff options
Diffstat (limited to 'Nodes/ui.tscn')
-rw-r--r-- | Nodes/ui.tscn | 227 |
1 files changed, 226 insertions, 1 deletions
diff --git a/Nodes/ui.tscn b/Nodes/ui.tscn index dcbbfa2..877dcf0 100644 --- a/Nodes/ui.tscn +++ b/Nodes/ui.tscn @@ -1,6 +1,17 @@ -[gd_scene load_steps=4 format=3 uid="uid://c8r6i3bu37ogu"] +[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 @@ -8,6 +19,198 @@ 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 @@ -37,6 +240,7 @@ 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 @@ -45,6 +249,7 @@ 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"] visible = false @@ -112,3 +317,23 @@ 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") |