[gd_scene load_steps=19 format=2] [ext_resource path="res://Networking.gd" type="Script" id=1] [ext_resource path="res://art/multiplayer_menu/enter_username.png" type="Texture" id=2] [ext_resource path="res://art/multiplayer_menu/checkmark.png" type="Texture" id=3] [ext_resource path="res://art/multiplayer_menu/start_server.png" type="Texture" id=4] [ext_resource path="res://art/multiplayer_menu/back.png" type="Texture" id=5] [ext_resource path="res://art/multiplayer_menu/enter_ip.png" type="Texture" id=6] [ext_resource path="res://art/multiplayer_menu/connect_to.png" type="Texture" id=7] [ext_resource path="res://art/ColorSelect.png" type="Texture" id=8] [sub_resource type="SpriteFrames" id=1] animations = [ { "frames": [ ExtResource( 2 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=2] animations = [ { "frames": [ ExtResource( 3 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="BitmapFont" id=3] textures = [ ] chars = PoolIntArray( ) kernings = PoolIntArray( ) height = 1.0 ascent = 0.0 distance_field = false [sub_resource type="BitmapFont" id=4] textures = [ ] chars = PoolIntArray( ) kernings = PoolIntArray( ) height = 1.0 ascent = 0.0 distance_field = false [sub_resource type="SpriteFrames" id=5] animations = [ { "frames": [ ExtResource( 4 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=6] animations = [ { "frames": [ ExtResource( 5 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=7] animations = [ { "frames": [ ExtResource( 6 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=8] animations = [ { "frames": [ ExtResource( 3 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=9] animations = [ { "frames": [ ExtResource( 7 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [sub_resource type="SpriteFrames" id=10] animations = [ { "frames": [ ExtResource( 8 ) ], "loop": true, "name": "default", "speed": 5.0 } ] [node name="Networking" type="Node"] pause_mode = 2 script = ExtResource( 1 ) _sections_unfolded = [ "Pause" ] [node name="ColorRect" type="ColorRect" parent="." index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = -3.0 margin_top = -1.0 margin_right = 1028.0 margin_bottom = 619.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 color = Color( 0, 0, 0, 1 ) _sections_unfolded = [ "Visibility" ] [node name="UsernamePage" type="Node" parent="." index="1"] editor/display_folded = true [node name="UsernameEntry" type="LineEdit" parent="UsernamePage" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 377.0 margin_top = 390.0 margin_right = 610.0 margin_bottom = 416.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 1 size_flags_horizontal = 1 size_flags_vertical = 1 focus_mode = 2 context_menu_enabled = true placeholder_text = "Enter username" placeholder_alpha = 0.6 caret_blink = false caret_blink_speed = 0.65 caret_position = 0 _sections_unfolded = [ "Focus", "Hint", "Placeholder" ] [node name="EnterUsername" type="AnimatedSprite" parent="UsernamePage" index="1"] position = Vector2( 506.573, 202.684 ) scale = Vector2( 0.268352, 0.268352 ) frames = SubResource( 1 ) animation = "default" [node name="UsernameAcceptIcon" type="AnimatedSprite" parent="UsernamePage" index="2"] position = Vector2( 682.745, 404.707 ) scale = Vector2( 0.4, 0.4 ) frames = SubResource( 2 ) animation = "default" _sections_unfolded = [ "Transform" ] [node name="UsernameAccept" type="Button" parent="UsernamePage" index="3"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 643.0 margin_top = 355.0 margin_right = 725.0 margin_bottom = 438.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null flat = true align = 1 [node name="Name" type="Button" parent="." index="2"] visible = false anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 196.0 margin_top = 456.0 margin_right = 295.0 margin_bottom = 532.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null text = "Name" flat = false align = 1 [node name="ServerEntry" type="LineEdit" parent="." index="3"] visible = false anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 407.0 margin_top = 496.0 margin_right = 610.0 margin_bottom = 522.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 1 size_flags_horizontal = 1 size_flags_vertical = 1 text = "192.168.0.28" focus_mode = 2 context_menu_enabled = true placeholder_text = "Enter server IP" placeholder_alpha = 0.6 caret_blink = false caret_blink_speed = 0.65 caret_position = 0 _sections_unfolded = [ "Placeholder" ] [node name="UsernameLabel" type="RichTextLabel" parent="." index="4"] visible = false anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 588.0 margin_top = 139.0 margin_right = 839.0 margin_bottom = 159.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = true mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 custom_fonts/mono_font = SubResource( 3 ) custom_fonts/italics_font = SubResource( 4 ) bbcode_enabled = false bbcode_text = "Enter a username" visible_characters = -1 percent_visible = 1.0 meta_underlined = true tab_size = 4 text = "Enter a username" scroll_active = true scroll_following = false selection_enabled = false override_selected_font_color = false _sections_unfolded = [ "BBCode", "custom_fonts" ] [node name="BackToMain" type="Button" parent="." index="5"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 16.0 margin_top = 493.0 margin_right = 181.0 margin_bottom = 579.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null flat = true align = 1 [node name="StartServer" type="AnimatedSprite" parent="." index="6"] visible = false position = Vector2( 510.253, 137.961 ) scale = Vector2( 0.203772, 0.203773 ) frames = SubResource( 5 ) animation = "default" [node name="ServerIP" type="Label" parent="." index="7"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 764.0 margin_top = 14.0 margin_right = 1012.0 margin_bottom = 79.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 2 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 4 text = "192.168.0.1" align = 2 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 _sections_unfolded = [ "Visibility" ] [node name="BackIcon" type="AnimatedSprite" parent="." index="8"] position = Vector2( 114.639, 542.358 ) scale = Vector2( 0.626981, 0.626981 ) frames = SubResource( 6 ) animation = "default" [node name="EnterIP" type="AnimatedSprite" parent="." index="9"] visible = false position = Vector2( 507.859, 382.258 ) scale = Vector2( 0.33039, 0.33039 ) frames = SubResource( 7 ) animation = "default" [node name="Server" type="Button" parent="." index="10"] visible = false anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 314.0 margin_top = 26.0 margin_right = 707.0 margin_bottom = 232.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null flat = true align = 1 _sections_unfolded = [ "Visibility" ] [node name="ServerAcceptIcon" type="AnimatedSprite" parent="." index="11"] visible = false position = Vector2( 656.015, 512.574 ) scale = Vector2( 0.329, 0.329 ) frames = SubResource( 8 ) animation = "default" _sections_unfolded = [ "Transform" ] [node name="Client" type="Button" parent="." index="12"] visible = false anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 620.0 margin_top = 469.0 margin_right = 696.0 margin_bottom = 543.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null flat = true align = 1 [node name="ConnectTo" type="AnimatedSprite" parent="." index="13"] visible = false position = Vector2( 788.86, 170.073 ) scale = Vector2( 0.553802, 0.553802 ) frames = SubResource( 9 ) animation = "default" [node name="Lobby" type="Node" parent="." index="14"] editor/display_folded = true [node name="RichTextLabel" type="RichTextLabel" parent="Lobby" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 99.0 margin_top = 184.0 margin_right = 256.0 margin_bottom = 302.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = true mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 bbcode_enabled = true bbcode_text = "" visible_characters = -1 percent_visible = 1.0 meta_underlined = true tab_size = 4 text = "" scroll_active = true scroll_following = false selection_enabled = false override_selected_font_color = false _sections_unfolded = [ "BBCode", "custom_fonts" ] [node name="StartGame" type="Button" parent="." index="15"] visible = false anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 788.0 margin_top = 463.0 margin_right = 990.0 margin_bottom = 551.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null text = "StartGame" flat = false align = 1 _sections_unfolded = [ "Visibility" ] [node name="AnimatedSprite" type="AnimatedSprite" parent="." index="16"] visible = false position = Vector2( 885.265, 350.067 ) scale = Vector2( 0.242563, 0.242563 ) frames = SubResource( 10 ) animation = "default" _sections_unfolded = [ "Visibility" ] [connection signal="text_changed" from="UsernamePage/UsernameEntry" to="." method="_on_UsernameEntry_text_changed"] [connection signal="text_entered" from="UsernamePage/UsernameEntry" to="." method="_on_LineEdit_text_entered"] [connection signal="pressed" from="UsernamePage/UsernameAccept" to="." method="_on_UsernameAccept_pressed"] [connection signal="pressed" from="Name" to="." method="_on_Name_pressed"] [connection signal="text_entered" from="ServerEntry" to="." method="_on_Server_Entry_text_entered"] [connection signal="pressed" from="BackToMain" to="." method="_on_BackToMain_pressed"] [connection signal="pressed" from="Server" to="." method="_on_Server_pressed"] [connection signal="pressed" from="Client" to="." method="_on_Client_pressed"] [connection signal="pressed" from="StartGame" to="." method="startGame"]