FunGame-Godot/resources/controls/CharacterStatus.tscn
2026-02-03 01:38:51 +08:00

210 lines
6.7 KiB
Plaintext

[gd_scene format=3 uid="uid://boa4gvdodn6is"]
[ext_resource type="Script" uid="uid://ne34ebenkjmd" path="res://scripts/CharacterStatus.cs" id="1_n6t88"]
[ext_resource type="Theme" uid="uid://d0pi6io7y7tky" path="res://resources/themes/dialog.tres" id="1_xafvb"]
[ext_resource type="Texture2D" uid="uid://biooen7y20ks8" path="res://assets/character/雷恩.png" id="1_xdbvw"]
[ext_resource type="Theme" uid="uid://d1gp4l4cwgtw4" path="res://resources/themes/button.tres" id="2_xdbvw"]
[ext_resource type="PackedScene" uid="uid://dmbm52c5kvhvh" path="res://resources/controls/BuffItem.tscn" id="5_gni6q"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dugby"]
bg_color = Color(0.6, 0.6, 0.6, 0)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jet3t"]
bg_color = Color(0, 0.7137255, 0.40784314, 0.39215687)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cnh2t"]
bg_color = Color(0.36078432, 0.60784316, 0.91764706, 0.39215687)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_arpqe"]
bg_color = Color(0.8784314, 0.48235294, 0, 0.39215687)
[node name="CharacterStatus" type="Panel" unique_id=1496252882 node_paths=PackedStringArray("Image", "HPBar", "MPBar", "EPBar", "HP", "MP", "EP", "Level")]
size_flags_horizontal = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_dugby")
script = ExtResource("1_n6t88")
Image = NodePath("Image")
HPBar = NodePath("HPBar")
MPBar = NodePath("MPBar")
EPBar = NodePath("EPBar")
HP = NodePath("HP")
MP = NodePath("MP")
EP = NodePath("EP")
Level = NodePath("Level")
[node name="Image" type="TextureRect" parent="." unique_id=332789227]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = -55.999996
offset_right = 967.99994
offset_bottom = 1024.0001
scale = Vector2(0.4, 0.4)
texture = ExtResource("1_xdbvw")
expand_mode = 1
[node name="HPBar" type="ProgressBar" parent="." unique_id=250999659]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = 320.0
offset_top = 173.0
offset_right = 832.0
offset_bottom = 236.99998
theme = ExtResource("1_xafvb")
theme_override_styles/fill = SubResource("StyleBoxFlat_jet3t")
max_value = 21424.0
value = 17110.0
show_percentage = false
[node name="MPBar" type="ProgressBar" parent="." unique_id=1188464978]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = 320.0
offset_top = 245.0
offset_right = 832.0
offset_bottom = 309.0
theme = ExtResource("1_xafvb")
theme_override_styles/fill = SubResource("StyleBoxFlat_cnh2t")
max_value = 2533.0
value = 795.0
show_percentage = false
[node name="EPBar" type="ProgressBar" parent="." unique_id=923755045]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = 320.0
offset_top = 319.0
offset_right = 832.0
offset_bottom = 383.0
theme = ExtResource("1_xafvb")
theme_override_styles/fill = SubResource("StyleBoxFlat_arpqe")
max_value = 200.0
value = 15.0
show_percentage = false
[node name="HP" type="Label" parent="." unique_id=1388418558]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = 320.0
offset_top = 173.0
offset_right = 832.0
offset_bottom = 236.99998
theme = ExtResource("2_xdbvw")
theme_override_colors/font_color = Color(0, 0.715563, 0.406543, 1)
text = "17110 / 21424"
horizontal_alignment = 2
vertical_alignment = 1
[node name="MP" type="Label" parent="." unique_id=380541733]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = 320.0
offset_top = 244.0
offset_right = 832.0
offset_bottom = 308.0
theme = ExtResource("2_xdbvw")
theme_override_colors/font_color = Color(0.360998, 0.609236, 0.919164, 1)
text = "795 / 2533"
horizontal_alignment = 2
vertical_alignment = 1
[node name="EP" type="Label" parent="." unique_id=1083411746]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = 320.0
offset_top = 319.0
offset_right = 832.0
offset_bottom = 383.0
theme = ExtResource("2_xdbvw")
theme_override_colors/font_color = Color(0.879745, 0.48415, 7.70092e-07, 1)
text = "15 / 200"
horizontal_alignment = 2
vertical_alignment = 1
[node name="Level" type="Label" parent="." unique_id=847018324]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.045
anchor_top = -0.36400002
anchor_right = -0.045
anchor_bottom = -0.36400002
offset_left = 320.0
offset_top = 88.0
offset_right = 832.0
offset_bottom = 158.0
theme = ExtResource("2_xdbvw")
theme_override_colors/font_color = Color(0.3311984, 0.5930991, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 48
text = "雷恩 - 等级 1"
vertical_alignment = 1
[node name="ScrollContainer" type="ScrollContainer" parent="." unique_id=1548306844]
layout_mode = 0
offset_left = 320.0
offset_top = 16.0
offset_right = 832.0
offset_bottom = 88.0
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer" unique_id=1944009762]
layout_mode = 2
[node name="BuffItem" parent="ScrollContainer/HBoxContainer" unique_id=1032115207 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem2" parent="ScrollContainer/HBoxContainer" unique_id=1569074178 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem3" parent="ScrollContainer/HBoxContainer" unique_id=1855281629 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem4" parent="ScrollContainer/HBoxContainer" unique_id=433622243 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem5" parent="ScrollContainer/HBoxContainer" unique_id=998345842 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem6" parent="ScrollContainer/HBoxContainer" unique_id=758729347 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem7" parent="ScrollContainer/HBoxContainer" unique_id=811979895 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem8" parent="ScrollContainer/HBoxContainer" unique_id=363183697 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem9" parent="ScrollContainer/HBoxContainer" unique_id=349761587 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem10" parent="ScrollContainer/HBoxContainer" unique_id=1518968312 instance=ExtResource("5_gni6q")]
layout_mode = 2
[node name="BuffItem11" parent="ScrollContainer/HBoxContainer" unique_id=1477306808 instance=ExtResource("5_gni6q")]
layout_mode = 2