[gd_scene load_steps=29 format=3 uid="uid://126wph4owvoy"] [ext_resource type="Script" uid="uid://bj1syq1cnpch6" path="res://script/ui/screen.gd" id="1_davcv"] [ext_resource type="Script" uid="uid://noxi8tkiodot" path="res://script/ui/hud/hud_page.gd" id="1_t7dgf"] [ext_resource type="Texture2D" uid="uid://c2cwtc10ine84" path="res://resource/ui/design/hud_design.png" id="2_ouq6l"] [ext_resource type="Script" uid="uid://rl5d6y8qoqu7" path="res://script/ui/hud/headbar_page.gd" id="3_6chl0"] [ext_resource type="Texture2D" uid="uid://comp54dje0355" path="res://resource/ui/hud/player_status_background.png" id="3_nlb4w"] [ext_resource type="Script" uid="uid://c56it87ucotmu" path="res://script/ui/hud/player_status_item.gd" id="3_uokru"] [ext_resource type="Script" uid="uid://b8x5felvv3y6c" path="res://script/ui/hud/loading_page.gd" id="4_jqajt"] [ext_resource type="Texture2D" uid="uid://bxrpivq41rp23" path="res://resource/ui/hud/player_status_hp_empty.png" id="4_wyg3a"] [ext_resource type="Texture2D" uid="uid://0f3lam5c3k0y" path="res://resource/ui/hud/player_status_hp.png" id="5_b0cyb"] [ext_resource type="Script" uid="uid://cwbuw0glweie8" path="res://script/ui/hud/lock_item.gd" id="5_usy8x"] [ext_resource type="Texture2D" uid="uid://g4b4cjfdaxsx" path="res://resource/ui/hud/player_status_mp_sub_empty.png" id="6_fqaaa"] [ext_resource type="Texture2D" uid="uid://dx2vp753yvh4y" path="res://resource/ui/hud/lock.png" id="6_hmslt"] [ext_resource type="Script" uid="uid://drmg6k0mwlhbt" path="res://script/ui/hud/weapon_item.gd" id="7_3g1k3"] [ext_resource type="Texture2D" uid="uid://bvuv86ujfaqfx" path="res://resource/ui/hud/player_status_mp_sub.png" id="7_wiq06"] [ext_resource type="Texture2D" uid="uid://bp7cve5pxkvv0" path="res://resource/ui/hud/boss_status_hp_empty.png" id="9_3sg6t"] [ext_resource type="Shader" uid="uid://b5prclom1xhyd" path="res://render/shader/loading.gdshader" id="9_lv4gd"] [ext_resource type="Script" uid="uid://c57253f1gkdn0" path="res://script/ui/hud/boss_status_item.gd" id="9_wcxio"] [ext_resource type="Texture2D" uid="uid://d1p6frj6673py" path="res://resource/ui/hud/boss_status_hp.png" id="10_o72w7"] [ext_resource type="PackedScene" uid="uid://dfjudjr7aq205" path="res://scene/ui/item/skill_item.tscn" id="12_gotas"] [ext_resource type="Script" uid="uid://7x30wq84k3b3" path="res://script/ui/hud/core_item.gd" id="12_s7xys"] [ext_resource type="PackedScene" uid="uid://cvx8f4p2kkp8c" path="res://scene/ui/item/input_item.tscn" id="18_1ymc1"] [sub_resource type="Animation" id="Animation_pfl0h"] length = 0.001 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), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.0] } [sub_resource type="Animation" id="Animation_ikdwl"] resource_name = "rotate" loop_mode = 1 step = 0.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 = { &"RESET": SubResource("Animation_pfl0h"), &"rotate": SubResource("Animation_ikdwl") } [sub_resource type="ShaderMaterial" id="ShaderMaterial_b5bdl"] shader = ExtResource("9_lv4gd") shader_parameter/in_color = Color(0, 0, 0, 1) 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 step = 0.1 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.4), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [-2.0, 1.0] } [sub_resource type="Animation" id="Animation_x6v17"] resource_name = "start" length = 0.8 step = 0.1 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.4), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [1.0, -2.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_fofuj"] _data = { &"end": SubResource("Animation_4kxot"), &"start": SubResource("Animation_x6v17") } [node name="HudScreen" type="CanvasLayer"] script = ExtResource("1_davcv") [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"] visible = false position = Vector2(320, 180) texture = ExtResource("2_ouq6l") [node name="PlayerStatusItem" type="Control" parent="HudPage"] anchors_preset = 0 offset_left = 16.0 offset_top = 16.0 offset_right = 48.0 offset_bottom = 48.0 pivot_offset = Vector2(16, 16) script = ExtResource("3_uokru") [node name="Background" type="TextureRect" parent="HudPage/PlayerStatusItem"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -32.0 offset_top = -16.0 offset_right = 32.0 offset_bottom = 16.0 grow_horizontal = 2 grow_vertical = 2 pivot_offset = Vector2(32, 16) texture = ExtResource("3_nlb4w") stretch_mode = 2 [node name="HpBar" type="TextureProgressBar" parent="HudPage/PlayerStatusItem"] layout_mode = 0 offset_left = 23.0 offset_top = 6.0 offset_right = 119.0 offset_bottom = 22.0 value = 50.0 texture_under = ExtResource("4_wyg3a") texture_progress = ExtResource("5_b0cyb") [node name="MpSubBar" type="TextureProgressBar" parent="HudPage/PlayerStatusItem"] layout_mode = 0 offset_left = 33.0 offset_top = 16.0 offset_right = 129.0 offset_bottom = 32.0 value = 50.0 texture_under = ExtResource("6_fqaaa") texture_progress = ExtResource("7_wiq06") [node name="MpList" type="HBoxContainer" parent="HudPage/PlayerStatusItem"] layout_mode = 0 offset_left = 25.0 offset_top = 21.0 offset_right = 65.0 offset_bottom = 28.0 theme_override_constants/separation = -5 [node name="DebugInfoList" type="VBoxContainer" parent="HudPage/PlayerStatusItem"] layout_mode = 0 offset_top = 37.0 offset_right = 40.0 offset_bottom = 77.0 theme_override_constants/separation = 14 [node name="BossStatusItem" type="Control" parent="HudPage"] visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 284.0 offset_top = 284.0 offset_right = 316.0 offset_bottom = 316.0 grow_horizontal = 2 grow_vertical = 2 pivot_offset = Vector2(16, 16) script = ExtResource("9_wcxio") [node name="HpBar" type="TextureProgressBar" parent="HudPage/BossStatusItem"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -192.0 offset_top = -8.0 offset_right = 192.0 offset_bottom = 8.0 grow_horizontal = 2 grow_vertical = 2 value = 50.0 nine_patch_stretch = true texture_under = ExtResource("9_3sg6t") texture_progress = ExtResource("10_o72w7") [node name="BossName" type="Label" parent="HudPage/BossStatusItem"] layout_mode = 0 offset_left = -160.0 offset_top = -16.0 offset_right = -92.0 offset_bottom = 7.0 theme_override_font_sizes/font_size = 14 text = "Boss名字" [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") hframes = 2 [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 = 296.0 offset_right = 88.0 offset_bottom = 328.0 pivot_offset = Vector2(16, 16) script = ExtResource("7_3g1k3") [node name="CoreItem" type="Control" parent="HudPage"] anchors_preset = 0 offset_left = 560.0 offset_top = 300.0 offset_right = 592.0 offset_bottom = 332.0 pivot_offset = Vector2(16, 16) script = ExtResource("12_s7xys") [node name="CoreItemFree" type="Control" parent="HudPage/CoreItem"] anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Up" parent="HudPage/CoreItem/CoreItemFree" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = -20.0 offset_top = -36.0 offset_right = 12.0 offset_bottom = -4.0 [node name="Left" parent="HudPage/CoreItem/CoreItemFree" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = -44.0 offset_top = -20.0 offset_right = -12.0 offset_bottom = 12.0 [node name="Down" parent="HudPage/CoreItem/CoreItemFree" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = -20.0 offset_top = -4.0 offset_right = 12.0 offset_bottom = 28.0 is_right = true [node name="Right" parent="HudPage/CoreItem/CoreItemFree" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = 4.0 offset_top = -20.0 offset_right = 36.0 offset_bottom = 12.0 is_right = true [node name="CoreItemLock" type="Control" parent="HudPage/CoreItem"] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Up" parent="HudPage/CoreItem/CoreItemLock" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = -20.0 offset_top = -36.0 offset_right = 12.0 offset_bottom = -4.0 [node name="Left" parent="HudPage/CoreItem/CoreItemLock" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = -44.0 offset_top = -20.0 offset_right = -12.0 offset_bottom = 12.0 [node name="Down" parent="HudPage/CoreItem/CoreItemLock" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = -20.0 offset_top = -4.0 offset_right = 12.0 offset_bottom = 28.0 is_right = true [node name="Right" parent="HudPage/CoreItem/CoreItemLock" instance=ExtResource("12_gotas")] layout_mode = 1 offset_left = 4.0 offset_top = -20.0 offset_right = 36.0 offset_bottom = 12.0 is_right = true [node name="CoreItemInput" type="Control" parent="HudPage/CoreItem"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 16.0 offset_top = 16.0 offset_right = -16.0 offset_bottom = -16.0 [node name="Up" parent="HudPage/CoreItem/CoreItemInput" instance=ExtResource("18_1ymc1")] [node name="Left" parent="HudPage/CoreItem/CoreItemInput" instance=ExtResource("18_1ymc1")] [node name="Down" parent="HudPage/CoreItem/CoreItemInput" instance=ExtResource("18_1ymc1")] [node name="Right" parent="HudPage/CoreItem/CoreItemInput" instance=ExtResource("18_1ymc1")] [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 = 1.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") }