7-19-25 @ 1:16 AM

This commit is contained in:
2025-07-19 01:16:38 -04:00
parent 3884c07811
commit ea03cc152a
7 changed files with 137 additions and 59 deletions

View File

@@ -6,27 +6,27 @@
bg_color = Color(1, 1, 1, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mmnuv"]
bg_color = Color(0.259294, 0.259294, 0.259294, 1)
bg_color = Color(0.133196, 0.133196, 0.133196, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dg1wx"]
bg_color = Color(0.6, 1, 0.6, 1)
bg_color = Color(0.376575, 0.904155, 0.434351, 1)
[node name="ActorPanel" type="Panel"]
anchors_preset = -1
offset_left = -100.0
offset_top = -150.0
offset_right = 100.0
offset_bottom = 150.0
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="RichTextLabel" type="RichTextLabel" parent="."]
[node name="Name" type="RichTextLabel" parent="."]
layout_mode = 0
offset_right = 207.0
offset_bottom = 40.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
@@ -34,56 +34,81 @@ vertical_alignment = 1
[node name="Image" type="Sprite2D" parent="."]
position = Vector2(100, 75)
[node name="Health" type="Node2D" parent="."]
position = Vector2(100, 150)
[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="Name" type="RichTextLabel" parent="Health"]
offset_left = -80.0
offset_top = -26.0
offset_bottom = -1.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
metadata/_edit_use_anchors_ = true
[node name="Max" type="RichTextLabel" parent="Health"]
offset_top = -26.0
offset_right = 80.0
offset_bottom = -1.0
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
metadata/_edit_use_anchors_ = true
[node name="Separator" type="RichTextLabel" parent="Health"]
offset_top = -26.0
offset_right = 50.0
offset_bottom = -1.0
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
metadata/_edit_use_anchors_ = true
[node name="Value" type="RichTextLabel" parent="Health"]
offset_top = -26.0
offset_right = 40.0
offset_bottom = -1.0
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
metadata/_edit_use_anchors_ = true
[node name="Bar" type="ProgressBar" parent="Health"]
offset_left = -80.0
offset_top = -3.0
offset_right = 81.0
offset_bottom = 4.0
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
metadata/_edit_use_anchors_ = true
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]