[gd_scene load_steps=6 format=3 uid="uid://dogu37xma5vsp"] [ext_resource type="Script" path="res://UI/main_menu.gd" id="1_q3q3u"] [ext_resource type="Script" path="res://DisconnectInfo.gd" id="2_2fkdc"] [ext_resource type="Script" path="res://UI/CreditsPanel.gd" id="3_16j20"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_47fa1"] bg_color = Color(0, 0, 0, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6jy8e"] bg_color = Color(0.25098, 0.25098, 0.25098, 1) [node name="MainMenu" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_q3q3u") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -161.5 offset_top = -301.5 offset_right = 161.5 offset_bottom = 301.5 grow_horizontal = 2 grow_vertical = 2 [node name="Label" type="Label" parent="VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "" horizontal_alignment = 1 [node name="PanelContainer" type="PanelContainer" parent="VBoxContainer"] custom_minimum_size = Vector2(300, 0) layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/PanelContainer"] layout_mode = 2 theme_override_constants/margin_left = 15 theme_override_constants/margin_top = 15 theme_override_constants/margin_right = 15 theme_override_constants/margin_bottom = 15 [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/PanelContainer/MarginContainer"] layout_mode = 2 theme_override_constants/separation = 15 [node name="Label2" type="Label" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Singleplayer" [node name="HostButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] visible = false layout_mode = 2 text = "Host Game" [node name="JoinButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] visible = false layout_mode = 2 text = "Join Game" [node name="SingleplayerButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 disabled = true text = "Singleplayer (vs AI)" [node name="HSeparator2" type="HSeparator" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Multiplayer" [node name="LocalButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Local (Hotseat)" [node name="OnlineButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Online" [node name="LANButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "LAN" [node name="HSeparator" type="HSeparator" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 [node name="RulesButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Rules" [node name="HSeparator4" type="HSeparator" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 [node name="SettingsButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Settings" [node name="HSeparator3" type="HSeparator" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 [node name="CreditsButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Credits" [node name="HSeparator5" type="HSeparator" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 [node name="ExitButton" type="Button" parent="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Exit" [node name="DisconnectInfo" type="Control" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("2_2fkdc") [node name="PanelContainer" type="PanelContainer" parent="DisconnectInfo"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_47fa1") [node name="MarginContainer" type="MarginContainer" parent="DisconnectInfo/PanelContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 theme_override_constants/margin_left = 15 theme_override_constants/margin_top = 15 theme_override_constants/margin_right = 15 theme_override_constants/margin_bottom = 15 [node name="VBoxContainer" type="VBoxContainer" parent="DisconnectInfo/PanelContainer/MarginContainer"] layout_mode = 2 [node name="Label" type="Label" parent="DisconnectInfo/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "#REASON#" [node name="Button" type="Button" parent="DisconnectInfo/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "Ok" [node name="CreditsPanel" type="Control" parent="."] visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -20.0 offset_top = -20.0 offset_right = 20.0 offset_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("3_16j20") [node name="PanelContainer" type="PanelContainer" parent="CreditsPanel"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -300.0 offset_top = -250.0 offset_right = 300.0 offset_bottom = 250.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_6jy8e") [node name="VBoxContainer" type="VBoxContainer" parent="CreditsPanel/PanelContainer"] custom_minimum_size = Vector2(600, 500) layout_mode = 2 [node name="ScrollContainer" type="ScrollContainer" parent="CreditsPanel/PanelContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="GridContainer" type="GridContainer" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer"] custom_minimum_size = Vector2(600, 400) layout_mode = 2 theme_override_constants/v_separation = 15 columns = 2 [node name="Label" type="Label" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 5 text = "Gen42 for their amazing game" [node name="RichTextLabel" type="RichTextLabel" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "[url]https://www.gen42.com/games/hive[/url]" fit_content = true [node name="Label3" type="Label" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 5 text = "HexGrid Godot 4 by HugoEnzo" [node name="RichTextLabel3" type="RichTextLabel" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "[url]https://github.com/HugoEnzo/HexGrid_Godot_4.0[/url]" fit_content = true [node name="Label5" type="Label" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 5 text = "Amit Patel's Hex Guide at RedBlobGames" [node name="RichTextLabel5" type="RichTextLabel" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "[url]https://www.redblobgames.com/grids/hexagons/[/url]" fit_content = true [node name="Label4" type="Label" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 5 text = "Insect Icons by Gigbrinus / Nikoichu" [node name="RichTextLabel4" type="RichTextLabel" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "[url]https://www.thingiverse.com/thing:1745592/comments[/url] [url]https://www.dropbox.com/scl/fi/8c9ieihtd7c516lxvd2lx/SwarmPieces.svg?rlkey=wtitgasojb6zdir1g22wmgib9&dl=0[/url]" fit_content = true [node name="Label2" type="Label" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 5 text = "Wooden Table Texture from Poly Haven" [node name="RichTextLabel2" type="RichTextLabel" parent="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "[url]https://polyhaven.com/a/wood_table_001[/url]" fit_content = true [node name="CloseButton" type="Button" parent="CreditsPanel/PanelContainer/VBoxContainer"] layout_mode = 2 text = "Close" [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/HostButton" to="." method="_on_host_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/JoinButton" to="." method="_on_join_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/SingleplayerButton" to="." method="_on_rules_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/LocalButton" to="." method="_on_local_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/OnlineButton" to="." method="_on_online_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/LANButton" to="." method="_on_lan_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/RulesButton" to="." method="_on_rules_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/SettingsButton" to="." method="_on_settings_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"] [connection signal="pressed" from="VBoxContainer/PanelContainer/MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"] [connection signal="pressed" from="DisconnectInfo/PanelContainer/MarginContainer/VBoxContainer/Button" to="DisconnectInfo" method="_on_button_pressed"] [connection signal="meta_clicked" from="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer/RichTextLabel" to="CreditsPanel" method="_on_rich_text_label_meta_clicked"] [connection signal="meta_clicked" from="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer/RichTextLabel3" to="CreditsPanel" method="_on_rich_text_label_meta_clicked"] [connection signal="meta_clicked" from="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer/RichTextLabel5" to="CreditsPanel" method="_on_rich_text_label_meta_clicked"] [connection signal="meta_clicked" from="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer/RichTextLabel4" to="CreditsPanel" method="_on_rich_text_label_meta_clicked"] [connection signal="meta_clicked" from="CreditsPanel/PanelContainer/VBoxContainer/ScrollContainer/GridContainer/RichTextLabel2" to="CreditsPanel" method="_on_rich_text_label_meta_clicked"] [connection signal="pressed" from="CreditsPanel/PanelContainer/VBoxContainer/CloseButton" to="CreditsPanel" method="_on_close_button_pressed"]