[gd_scene load_steps=4 format=2] [ext_resource path="res://font/roboto.tres" type="DynamicFont" id=1] [ext_resource path="res://code/network_setup.gd" type="Script" id=2] [ext_resource path="res://scenes/floor.tscn" type="PackedScene" id=3] [node name="network_setup" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 2 ) [node name="multiplayer_configure" type="Control" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_use_anchors_": false } [node name="create_server" type="Button" parent="multiplayer_configure"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -267.5 margin_top = -202.0 margin_right = 267.5 margin_bottom = -26.0 custom_fonts/font = ExtResource( 1 ) text = "Create server" __meta__ = { "_edit_use_anchors_": false } [node name="join_server" type="Button" parent="multiplayer_configure"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -267.5 margin_top = 24.0 margin_right = 267.5 margin_bottom = 200.0 custom_fonts/font = ExtResource( 1 ) text = "Join server" __meta__ = { "_edit_use_anchors_": false } [node name="username_text_edit" type="LineEdit" parent="multiplayer_configure"] anchor_left = 0.5 anchor_right = 0.5 margin_left = -422.5 margin_top = 117.0 margin_right = 422.5 margin_bottom = 221.0 custom_fonts/font = ExtResource( 1 ) align = 1 placeholder_text = "Enter username" __meta__ = { "_edit_use_anchors_": false } [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="device_ip_address" type="Label" parent="CanvasLayer"] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -150.0 custom_fonts/font = ExtResource( 1 ) align = 1 valign = 1 __meta__ = { "_edit_use_anchors_": false } [node name="floor" parent="." instance=ExtResource( 3 )] position = Vector2( 960, 1056 ) scale = Vector2( 2, 1 ) [connection signal="pressed" from="multiplayer_configure/create_server" to="." method="_on_create_server_pressed"] [connection signal="pressed" from="multiplayer_configure/join_server" to="." method="_on_join_server_pressed"]