[gd_scene load_steps=8 format=3 uid="uid://126wph4owvoy"] [ext_resource type="Texture2D" uid="uid://cwhu1ec03t3c8" path="res://resource/ui/hud/headbar_hp_empty.png" id="1_flgf6"] [ext_resource type="Texture2D" uid="uid://b4ly1exl0owck" path="res://resource/ui/hud/headbar_hp.png" id="2_sktwb"] [ext_resource type="Script" path="res://script/ui/hud/headbar_page.gd" id="3_6chl0"] [ext_resource type="Script" path="res://script/ui/hud/loading_page.gd" id="4_jqajt"] [sub_resource type="Animation" id="Animation_4kxot"] resource_name = "end" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.3), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)] } [sub_resource type="Animation" id="Animation_x6v17"] resource_name = "start" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_fofuj"] _data = { "end": SubResource("Animation_4kxot"), "start": SubResource("Animation_x6v17") } [node name="HudScreen" type="CanvasLayer"] [node name="HudPage" type="Control" parent="."] layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Player" type="Control" parent="HudPage"] anchors_preset = 0 offset_left = 29.0 offset_top = 29.0 offset_right = 29.0 offset_bottom = 29.0 [node name="HpBar" type="TextureProgressBar" parent="HudPage/Player"] layout_mode = 0 offset_left = -13.0 offset_top = -13.0 offset_right = 51.0 offset_bottom = 3.0 value = 50.0 stretch_margin_left = 10 stretch_margin_top = 10 stretch_margin_right = 10 stretch_margin_bottom = 10 texture_under = ExtResource("1_flgf6") texture_progress = ExtResource("2_sktwb") [node name="HeadBarPage" type="Control" parent="."] layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("3_6chl0") [node name="LoadingPage" type="Control" parent="."] layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("4_jqajt") [node name="ColorRect" type="ColorRect" parent="LoadingPage"] layout_mode = 0 offset_right = 640.0 offset_bottom = 360.0 color = Color(0, 0, 0, 1) [node name="AnimationPlayer" type="AnimationPlayer" parent="LoadingPage"] unique_name_in_owner = true libraries = { "": SubResource("AnimationLibrary_fofuj") }