115 lines
3.1 KiB
Plaintext
115 lines
3.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://8kv00jc35dma"]
|
|
|
|
[ext_resource type="Script" uid="uid://c4ekvurl6q7jn" path="res://Gameplay/ActorPanel.cs" id="1_dg1wx"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e1ofl"]
|
|
bg_color = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mmnuv"]
|
|
bg_color = Color(0.133196, 0.133196, 0.133196, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dg1wx"]
|
|
bg_color = Color(0.376575, 0.904155, 0.434351, 1)
|
|
|
|
[node name="ActorPanel" type="Panel"]
|
|
offset_right = 422.0
|
|
offset_bottom = 130.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_e1ofl")
|
|
script = ExtResource("1_dg1wx")
|
|
|
|
[node name="Name" type="RichTextLabel" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 20.0
|
|
offset_top = 8.0
|
|
offset_right = 170.0
|
|
offset_bottom = 48.0
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "Actor Name"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Image" type="Sprite2D" parent="."]
|
|
position = Vector2(100, 75)
|
|
|
|
[node name="Health" type="Control" parent="."]
|
|
anchors_preset = 0
|
|
offset_left = 207.0
|
|
offset_top = 6.0
|
|
offset_right = 417.0
|
|
offset_bottom = 51.0
|
|
|
|
[node name="Label" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 15.0
|
|
offset_top = 2.0
|
|
offset_right = 115.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "Health"
|
|
vertical_alignment = 1
|
|
|
|
[node name="Max" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 83.0
|
|
offset_top = 2.0
|
|
offset_right = 148.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "000"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 1
|
|
|
|
[node name="Separator" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 112.0
|
|
offset_top = 2.0
|
|
offset_right = 161.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "/
|
|
"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 1
|
|
|
|
[node name="Value" type="RichTextLabel" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 156.0
|
|
offset_top = 2.0
|
|
offset_right = 205.0
|
|
offset_bottom = 42.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
text = "000"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 1
|
|
|
|
[node name="Bar" type="ProgressBar" parent="Health"]
|
|
layout_mode = 2
|
|
offset_left = 17.0
|
|
offset_top = 36.0
|
|
offset_right = 204.0
|
|
offset_bottom = 44.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_mmnuv")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_dg1wx")
|
|
step = 1.0
|
|
show_percentage = false
|
|
|
|
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
|
|
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]
|