aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/ui.tscn
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 16:24:34 +0200
committerLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 16:24:34 +0200
commit1782e704c10c4ddf2955f72dd32ca4d068aec3e0 (patch)
tree169ac3bbb00b91044de0542701cf397c94e0f2ca /Nodes/ui.tscn
parentbcccb662566481ea5956e40086e894aa8543f665 (diff)
download2023-1782e704c10c4ddf2955f72dd32ca4d068aec3e0.tar.gz
2023-1782e704c10c4ddf2955f72dd32ca4d068aec3e0.tar.bz2
2023-1782e704c10c4ddf2955f72dd32ca4d068aec3e0.zip
medal system
Diffstat (limited to 'Nodes/ui.tscn')
-rw-r--r--Nodes/ui.tscn217
1 files changed, 216 insertions, 1 deletions
diff --git a/Nodes/ui.tscn b/Nodes/ui.tscn
index 8eabc5d..877dcf0 100644
--- a/Nodes/ui.tscn
+++ b/Nodes/ui.tscn
@@ -1,6 +1,9 @@
-[gd_scene load_steps=6 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
@@ -16,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
@@ -122,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")