[gd_scene load_steps=11 format=2] [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1] [ext_resource path="res://scripts/menus/server.gd" type="Script" id=2] [ext_resource path="res://scenes/menus/BaseMenu.tscn" type="PackedScene" id=3] [ext_resource path="res://assets/icons/cpu.png" type="Texture" id=4] [ext_resource path="res://assets/icons/exitRight.png" type="Texture" id=5] [ext_resource path="res://assets/icons/car.png" type="Texture" id=6] [ext_resource path="res://assets/icons/trophy.png" type="Texture" id=7] [ext_resource path="res://assets/icons/locked.png" type="Texture" id=8] [ext_resource path="res://assets/icons/massiveMultiplayer.png" type="Texture" id=9] [ext_resource path="res://assets/icons/fistPlus.png" type="Texture" id=10] [node name="multiplayer_menu" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -0.142624 margin_top = 2.85742 margin_right = -0.142578 margin_bottom = 2.85742 theme = ExtResource( 1 ) script = ExtResource( 2 ) [node name="menu" parent="." instance=ExtResource( 3 )] [node name="back" parent="menu" index="0"] focus_neighbour_top = NodePath("../games") focus_neighbour_right = NodePath("../bottom_bar/refresh") [node name="top_bar" type="GridContainer" parent="menu"] anchor_right = 1.0 margin_bottom = 56.0 columns = 3 [node name="direct_host" type="Button" parent="menu/top_bar"] margin_right = 239.0 margin_bottom = 56.0 focus_neighbour_right = NodePath("../direct_join") focus_neighbour_bottom = NodePath("../../games") text = "DIRECT_HOST" icon = ExtResource( 4 ) flat = true [node name="direct_join" type="Button" parent="menu/top_bar"] margin_left = 243.0 margin_right = 473.0 margin_bottom = 56.0 focus_neighbour_left = NodePath("../direct_host") focus_neighbour_right = NodePath("../open") focus_neighbour_bottom = NodePath("../../games") text = "DIRECT_JOIN" icon = ExtResource( 5 ) flat = true [node name="open" type="CheckButton" parent="menu/top_bar"] margin_left = 477.0 margin_right = 945.0 margin_bottom = 56.0 focus_neighbour_left = NodePath("../direct_join") focus_neighbour_bottom = NodePath("../../games") size_flags_horizontal = 3 disabled = true pressed = true text = "OPEN_GAMES_ONLY" align = 2 [node name="games" type="ItemList" parent="menu"] margin_left = 13.0 margin_top = 60.0 margin_right = 931.0 margin_bottom = 414.0 focus_neighbour_top = NodePath("../top_bar/open") focus_neighbour_bottom = NodePath("../bottom_bar/join") [node name="open_icon" type="Button" parent="menu/games"] visible = false margin_right = 12.0 margin_bottom = 33.0 icon = ExtResource( 6 ) [node name="running_icon" type="Button" parent="menu/games"] visible = false margin_right = 12.0 margin_bottom = 33.0 icon = ExtResource( 7 ) [node name="private_icon" type="Button" parent="menu/games"] visible = false margin_right = 12.0 margin_bottom = 33.0 icon = ExtResource( 8 ) [node name="bottom_bar" type="GridContainer" parent="menu"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 380.0 margin_top = -56.0 grow_horizontal = 0 columns = 3 [node name="refresh" type="Button" parent="menu/bottom_bar"] margin_right = 183.0 margin_bottom = 56.0 grow_horizontal = 0 focus_neighbour_left = NodePath("../../back") focus_neighbour_top = NodePath("../../games") focus_neighbour_right = NodePath("../create") text = "REFRESH" icon = ExtResource( 9 ) flat = true align = 0 [node name="create" type="Button" parent="menu/bottom_bar"] margin_left = 187.0 margin_right = 441.0 margin_bottom = 56.0 focus_neighbour_left = NodePath("../refresh") focus_neighbour_top = NodePath("../../games") focus_neighbour_right = NodePath("../join") disabled = true text = "CREATE_GAME" icon = ExtResource( 10 ) flat = true align = 2 [node name="join" type="Button" parent="menu/bottom_bar"] margin_left = 445.0 margin_right = 565.0 margin_bottom = 56.0 focus_neighbour_left = NodePath("../create") focus_neighbour_top = NodePath("../../games") disabled = true text = "JOIN" icon = ExtResource( 5 ) flat = true align = 2 [node name="error_dialog" type="AcceptDialog" parent="."] margin_right = 138.0 margin_bottom = 84.0 window_title = "ALERT" [node name="refresh_timer" type="Timer" parent="."] wait_time = 5.0 autostart = true [connection signal="draw" from="." to="." method="_on_multiplayer_menu_draw"] [connection signal="hide" from="." to="." method="_on_multiplayer_menu_hide"] [connection signal="pressed" from="menu/top_bar/direct_host" to="." method="_on_direct_host_pressed"] [connection signal="pressed" from="menu/top_bar/direct_join" to="." method="_on_direct_join_pressed"] [connection signal="toggled" from="menu/top_bar/open" to="." method="_on_open_toggled"] [connection signal="item_selected" from="menu/games" to="." method="_on_games_item_selected"] [connection signal="nothing_selected" from="menu/games" to="." method="_on_games_nothing_selected"] [connection signal="pressed" from="menu/bottom_bar/refresh" to="." method="_on_refresh_pressed"] [connection signal="pressed" from="menu/bottom_bar/create" to="." method="_on_create_pressed"] [connection signal="pressed" from="menu/bottom_bar/join" to="." method="_on_join_pressed"] [connection signal="timeout" from="refresh_timer" to="." method="_on_refresh_timer_timeout"] [editable path="menu"]