diff options
author | perivesta <> | 2023-07-09 16:27:35 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-09 16:27:35 +0200 |
commit | 198b60c7830dc79a60a48863877405690c4b038e (patch) | |
tree | 4dc79c68961aeb0f434abb7db2d6d82ae70c5285 /Nodes/ui.tscn | |
parent | c19f69112409eca00029159f31797e13bbab61cf (diff) | |
parent | e7845dfe77cafebd30efb660ef56006d5388efb1 (diff) | |
download | 2023-198b60c7830dc79a60a48863877405690c4b038e.tar.gz 2023-198b60c7830dc79a60a48863877405690c4b038e.tar.bz2 2023-198b60c7830dc79a60a48863877405690c4b038e.zip |
Merge branch 'master' of bunny.garden:jam/gmtk/2023
Diffstat (limited to 'Nodes/ui.tscn')
-rw-r--r-- | Nodes/ui.tscn | 217 |
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") |