[gd_scene load_steps=7 format=2] [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1] [ext_resource path="res://scripts/menus/main.gd" type="Script" id=2] [ext_resource path="res://assets/icons/massiveMultiplayer.png" type="Texture" id=3] [ext_resource path="res://assets/icons/singleplayer.png" type="Texture" id=4] [ext_resource path="res://assets/icons/wrench.png" type="Texture" id=5] [ext_resource path="res://assets/icons/power.png" type="Texture" id=6] [node name="main_menu" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -0.857361 margin_right = -0.857361 theme = ExtResource( 1 ) script = ExtResource( 2 ) [node name="menu" type="Panel" parent="."] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -155.0 margin_top = -132.5 margin_right = 155.0 margin_bottom = 132.5 grow_horizontal = 2 grow_vertical = 2 [node name="GridContainer" type="GridContainer" parent="menu"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="multiplayer" type="Button" parent="menu/GridContainer"] margin_right = 310.0 margin_bottom = 63.0 focus_neighbour_top = NodePath("../quit") focus_neighbour_bottom = NodePath("../practice") size_flags_horizontal = 3 size_flags_vertical = 3 text = "MULTIPLAYER" icon = ExtResource( 3 ) flat = true [node name="practice" type="Button" parent="menu/GridContainer"] margin_top = 67.0 margin_right = 310.0 margin_bottom = 130.0 focus_neighbour_top = NodePath("../multiplayer") focus_neighbour_bottom = NodePath("../settings") size_flags_horizontal = 3 size_flags_vertical = 3 text = "PRACTISE" icon = ExtResource( 4 ) flat = true [node name="settings" type="Button" parent="menu/GridContainer"] margin_top = 134.0 margin_right = 310.0 margin_bottom = 197.0 focus_neighbour_top = NodePath("../practice") focus_neighbour_bottom = NodePath("../quit") size_flags_horizontal = 3 size_flags_vertical = 3 text = "SETTINGS" icon = ExtResource( 5 ) flat = true [node name="quit" type="Button" parent="menu/GridContainer"] margin_top = 201.0 margin_right = 310.0 margin_bottom = 264.0 focus_neighbour_top = NodePath("../settings") focus_neighbour_bottom = NodePath("../multiplayer") size_flags_horizontal = 3 size_flags_vertical = 3 text = "QUIT" icon = ExtResource( 6 ) flat = true [node name="error_dialog" type="AcceptDialog" parent="."] margin_right = 138.0 margin_bottom = 84.0 window_title = "ALERT" dialog_text = "Server disconnected!" [connection signal="pressed" from="menu/GridContainer/multiplayer" to="." method="_on_multiplayer_pressed"] [connection signal="pressed" from="menu/GridContainer/multiplayer" to="." method="_on_online_pressed"] [connection signal="pressed" from="menu/GridContainer/practice" to="." method="_on_practice_pressed"] [connection signal="pressed" from="menu/GridContainer/settings" to="." method="_on_settings_pressed"] [connection signal="pressed" from="menu/GridContainer/quit" to="." method="_on_quit_pressed"]