From 23ac25ee3f81bf8fa247d22f89c969693fd835e6 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 6 Mar 2025 15:24:54 +0100 Subject: [PATCH] Added loading plaque scene --- Scenes/HUD/LoadingPlaque.tscn | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Scenes/HUD/LoadingPlaque.tscn diff --git a/Scenes/HUD/LoadingPlaque.tscn b/Scenes/HUD/LoadingPlaque.tscn new file mode 100644 index 00000000..7cdf2815 --- /dev/null +++ b/Scenes/HUD/LoadingPlaque.tscn @@ -0,0 +1,62 @@ +[gd_scene load_steps=7 format=3 uid="uid://do23ng7xbfyyc"] + +[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="1_t7lr0"] +[ext_resource type="Texture2D" uid="uid://ddwhrlrgj6i00" path="res://Sprites/Actors/Cirno.png" id="2_jkpx4"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_l06qh"] +atlas = ExtResource("2_jkpx4") +region = Rect2(0, 48, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_r5soi"] +atlas = ExtResource("2_jkpx4") +region = Rect2(16, 48, 16, 16) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xdnw5"] +atlas = ExtResource("2_jkpx4") +region = Rect2(32, 48, 16, 16) + +[sub_resource type="SpriteFrames" id="SpriteFrames_6kit5"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_l06qh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_r5soi") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xdnw5") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + +[node name="LoadingPlaque" type="CanvasLayer"] + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +anchors_preset = 3 +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -40.0 +offset_top = -40.0 +grow_horizontal = 0 +grow_vertical = 0 + +[node name="Label" type="Label" parent="VBoxContainer"] +layout_mode = 2 +text = "Cirno is preparing..." +label_settings = ExtResource("1_t7lr0") + +[node name="CenterContainer" type="CenterContainer" parent="VBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="VBoxContainer/CenterContainer"] +position = Vector2(-2, 6) +sprite_frames = SubResource("SpriteFrames_6kit5") +autoplay = "default" +frame_progress = 0.847