[gd_scene load_steps=2 format=2] [ext_resource path="res://scripts/ClientUI.gd" type="Script" id=1] [node name="ClientUI" type="Node2D"] script = ExtResource( 1 ) [node name="IP" type="LineEdit" parent="."] margin_left = 23.0 margin_top = 25.0 margin_right = 119.0 margin_bottom = 49.0 text = "127.0.0.1" [node name="Port" type="SpinBox" parent="."] margin_left = 132.0 margin_top = 25.0 margin_right = 206.0 margin_bottom = 49.0 max_value = 65536.0 value = 25565.0 [node name="Name" type="LineEdit" parent="."] margin_left = 23.0 margin_top = 69.0 margin_right = 206.0 margin_bottom = 93.0 text = "PlayerName" [node name="ConnectButton" type="Button" parent="."] margin_left = 23.0 margin_top = 113.0 margin_right = 209.0 margin_bottom = 138.0 text = "Connect" [node name="LocalButton" type="Button" parent="."] margin_left = 23.0 margin_top = 251.0 margin_right = 209.0 margin_bottom = 271.0 text = "Host Local Game" [connection signal="pressed" from="ConnectButton" to="." method="_connect_btn"] [connection signal="pressed" from="LocalButton" to="." method="_run_local_server"]