[gd_scene load_steps=27 format=3 uid="uid://126wph4owvoy"]

[ext_resource type="Script" path="res://script/ui/screen.gd" id="1_davcv"]
[ext_resource type="Script" 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" 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" path="res://script/ui/hud/player_status_item.gd" id="3_uokru"]
[ext_resource type="Script" 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" 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://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="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" path="res://render/shader/loading.gdshader" id="9_lv4gd"]
[ext_resource type="Script" 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" path="res://script/ui/hud/skill_item.gd" id="12_s7xys"]

[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"]
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"]
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="BossStatusItem" type="Control" parent="HudPage"]
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")

[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="SkillItem" type="Control" parent="HudPage"]
anchors_preset = 0
offset_left = 560.0
offset_top = 304.0
offset_right = 592.0
offset_bottom = 336.0
pivot_offset = Vector2(16, 16)
script = ExtResource("12_s7xys")

[node name="SkillLeft" parent="HudPage/SkillItem" instance=ExtResource("12_gotas")]
layout_mode = 1
offset_left = -40.0
offset_right = -8.0

[node name="SkillRight" parent="HudPage/SkillItem" instance=ExtResource("12_gotas")]
layout_mode = 1
offset_left = 8.0
offset_right = 40.0

[node name="SkillUp" parent="HudPage/SkillItem" instance=ExtResource("12_gotas")]
layout_mode = 1
offset_left = -16.0
offset_top = -32.0
offset_right = 16.0
offset_bottom = 0.0

[node name="SkillDown" parent="HudPage/SkillItem" instance=ExtResource("12_gotas")]
layout_mode = 1
offset_left = -16.0
offset_top = 0.0
offset_right = 16.0
offset_bottom = 32.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")
}
