[gd_scene load_steps=18 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="Script" path="res://script/ui/hud/hud_page.gd" id="1_t7dgf"] [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"] [ext_resource type="Texture2D" uid="uid://xogtpwyb862f" path="res://resource/ui/hud/_hud_design.png" id="5_qqrb8"] [ext_resource type="Script" path="res://script/ui/hud/lock_item.gd" id="5_usy8x"] [ext_resource type="Texture2D" uid="uid://dx2vp753yvh4y" path="res://render/texture/shape/lock.png" id="6_hmslt"] [ext_resource type="Script" path="res://script/ui/hud/weapon_item.gd" id="7_3g1k3"] [ext_resource type="PackedScene" uid="uid://chi3x0mugaiu4" path="res://resource/ui/hud/weapon_item.tscn" id="8_nlmif"] [ext_resource type="Shader" path="res://render/shader/loading.gdshader" id="9_lv4gd"] [sub_resource type="Animation" id="Animation_ikdwl"] resource_name = "rotate" loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Lock:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, 6.28319] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_wbtxq"] _data = { "rotate": SubResource("Animation_ikdwl") } [sub_resource type="ShaderMaterial" id="ShaderMaterial_b5bdl"] shader = ExtResource("9_lv4gd") shader_parameter/in_color = null shader_parameter/position = 1.0 shader_parameter/size = Vector2(32, 32) shader_parameter/screen_size = Vector2(640, 360) [sub_resource type="Animation" id="Animation_4kxot"] resource_name = "end" length = 0.8 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:duration") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 0.8), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [-2.0, -2.0, 1.0] } [sub_resource type="Animation" id="Animation_x6v17"] resource_name = "start" length = 0.8 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:duration") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.7, 0.8), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [1.0, -2.0, -2.0] } [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 script = ExtResource("1_t7dgf") [node name="HudDesign" type="Sprite2D" parent="HudPage"] position = Vector2(320, 180) texture = ExtResource("5_qqrb8") [node name="PlayerStatusItem" 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/PlayerStatusItem"] visible = false 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="LockItem" type="Control" parent="HudPage"] anchors_preset = 0 offset_left = 424.0 offset_top = 232.0 offset_right = 464.0 offset_bottom = 272.0 scale = Vector2(0.5, 0.5) script = ExtResource("5_usy8x") [node name="Lock" type="Sprite2D" parent="HudPage/LockItem"] texture = ExtResource("6_hmslt") [node name="AnimationPlayer" type="AnimationPlayer" parent="HudPage/LockItem"] libraries = { "": SubResource("AnimationLibrary_wbtxq") } [node name="WeaponItem" type="Control" parent="HudPage"] anchors_preset = 0 offset_left = 56.0 offset_top = 304.0 offset_right = 88.0 offset_bottom = 336.0 pivot_offset = Vector2(16, 16) script = ExtResource("7_3g1k3") [node name="Weapon1" parent="HudPage/WeaponItem" instance=ExtResource("8_nlmif")] layout_mode = 1 [node name="Weapon2" parent="HudPage/WeaponItem" instance=ExtResource("8_nlmif")] layout_mode = 1 offset_left = -48.0 offset_right = -16.0 [node name="Weapon3" parent="HudPage/WeaponItem" instance=ExtResource("8_nlmif")] layout_mode = 1 offset_left = -16.0 offset_right = 16.0 [node name="Weapon4" parent="HudPage/WeaponItem" instance=ExtResource("8_nlmif")] layout_mode = 1 offset_left = 16.0 offset_right = 48.0 [node name="Weapon5" parent="HudPage/WeaponItem" instance=ExtResource("8_nlmif")] layout_mode = 1 offset_left = 48.0 offset_right = 80.0 [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="."] visible = false layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("4_jqajt") duration = -2.0 [node name="ColorRect" type="ColorRect" parent="LoadingPage"] material = SubResource("ShaderMaterial_b5bdl") layout_mode = 0 offset_right = 640.0 offset_bottom = 360.0 color = Color(0, 0, 0, 1) [node name="AnimationPlayer" type="AnimationPlayer" parent="LoadingPage"] libraries = { "": SubResource("AnimationLibrary_fofuj") }