Files
hotdesking/Gameplay/manager_panel.tscn

175 lines
4.7 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://8kv00jc35dma"]
[ext_resource type="Script" uid="uid://c4ekvurl6q7jn" path="res://Gameplay/ManagerPanel.cs" id="1_8n1hc"]
[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)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_j2own"]
bg_color = Color(0.501407, 0.501406, 0.501406, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_058dj"]
bg_color = Color(1, 1, 1, 1)
[node name="ManagerPanel" type="Panel"]
offset_right = 450.0
offset_bottom = 130.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_e1ofl")
script = ExtResource("1_8n1hc")
[node name="Name" type="RichTextLabel" parent="."]
layout_mode = 0
offset_left = 1.0
offset_top = 8.0
offset_right = 197.0
offset_bottom = 48.0
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_font_sizes/normal_font_size = 24
text = "Manager 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 = 221.0
offset_top = 6.0
offset_right = 447.0
offset_bottom = 51.0
mouse_filter = 2
[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="Value" 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="Max" 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
[node name="Team" type="Panel" parent="."]
layout_mode = 0
offset_top = 150.0
offset_right = 450.0
offset_bottom = 800.0
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_j2own")
[node name="T1" type="Panel" parent="Team"]
layout_mode = 0
offset_left = 63.0
offset_top = 26.0
offset_right = 213.0
offset_bottom = 176.0
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
[node name="Image" type="Sprite2D" parent="Team/T1"]
position = Vector2(75, 75)
[node name="T2" type="Panel" parent="Team"]
layout_mode = 0
offset_left = 237.0
offset_top = 28.0
offset_right = 387.0
offset_bottom = 178.0
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
[node name="Image" type="Sprite2D" parent="Team/T2"]
position = Vector2(75, 75)
[node name="T3" type="Panel" parent="Team"]
layout_mode = 0
offset_left = 60.0
offset_top = 194.0
offset_right = 210.0
offset_bottom = 344.0
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
[node name="Image" type="Sprite2D" parent="Team/T3"]
position = Vector2(75, 75)
[node name="T4" type="Panel" parent="Team"]
layout_mode = 0
offset_left = 237.0
offset_top = 196.0
offset_right = 387.0
offset_bottom = 346.0
theme_override_styles/panel = SubResource("StyleBoxFlat_058dj")
[node name="Image" type="Sprite2D" parent="Team/T4"]
position = Vector2(75, 75)
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]