[gd_scene load_steps=9 format=3 uid="uid://8kv00jc35dma"] [ext_resource type="Script" uid="uid://c4ekvurl6q7jn" path="res://Gameplay/ManagerPanel.cs" id="1_8n1hc"] [ext_resource type="PackedScene" uid="uid://cudhpkje2ax2g" path="res://Gameplay/rack.tscn" id="2_20uuj"] [ext_resource type="PackedScene" uid="uid://bfxav1txgaxo5" path="res://Gameplay/ball_return.tscn" id="3_sx67n"] [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 = 79.0 offset_top = 28.0 offset_right = 129.0 offset_bottom = 78.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T1"] position = Vector2(25, 25) [node name="T2" type="Panel" parent="Team"] layout_mode = 0 offset_left = 154.0 offset_top = 28.0 offset_right = 204.0 offset_bottom = 78.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T2"] position = Vector2(25, 25) [node name="T3" type="Panel" parent="Team"] layout_mode = 0 offset_left = 229.0 offset_top = 28.0 offset_right = 279.0 offset_bottom = 78.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T3"] position = Vector2(25, 25) [node name="T4" type="Panel" parent="Team"] layout_mode = 0 offset_left = 304.0 offset_top = 28.0 offset_right = 354.0 offset_bottom = 78.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T4"] position = Vector2(25, 25) [node name="T5" type="Panel" parent="Team"] layout_mode = 0 offset_left = 79.0 offset_top = 103.0 offset_right = 129.0 offset_bottom = 153.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T5"] position = Vector2(25, 25) [node name="T6" type="Panel" parent="Team"] layout_mode = 0 offset_left = 154.0 offset_top = 103.0 offset_right = 204.0 offset_bottom = 153.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T6"] position = Vector2(25, 25) [node name="T7" type="Panel" parent="Team"] layout_mode = 0 offset_left = 229.0 offset_top = 103.0 offset_right = 279.0 offset_bottom = 153.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T7"] position = Vector2(25, 25) [node name="T8" type="Panel" parent="Team"] layout_mode = 0 offset_left = 304.0 offset_top = 103.0 offset_right = 354.0 offset_bottom = 153.0 theme_override_styles/panel = SubResource("StyleBoxFlat_058dj") [node name="Image" type="Sprite2D" parent="Team/T8"] position = Vector2(25, 25) [node name="Rack" parent="." instance=ExtResource("2_20uuj")] position = Vector2(107, 346) [node name="BallReturn" parent="." instance=ExtResource("3_sx67n")] layout_mode = 0 offset_left = 475.0 offset_right = 550.0 [connection signal="mouse_entered" from="." to="." method="OnMouseEntered"] [connection signal="mouse_exited" from="." to="." method="OnMouseExited"]