summaryrefslogtreecommitdiff
path: root/ui/clientmenu/ClientUI.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'ui/clientmenu/ClientUI.tscn')
-rw-r--r--ui/clientmenu/ClientUI.tscn45
1 files changed, 45 insertions, 0 deletions
diff --git a/ui/clientmenu/ClientUI.tscn b/ui/clientmenu/ClientUI.tscn
new file mode 100644
index 0000000..6df552b
--- /dev/null
+++ b/ui/clientmenu/ClientUI.tscn
@@ -0,0 +1,45 @@
+[gd_scene load_steps=2 format=2]
+
+[ext_resource path="res://ui/clientmenu/ClientUI.gd" type="Script" id=1]
+
+[node name="ClientUI" type="Node2D"]
+script = ExtResource( 1 )
+
+[node name="IP" type="LineEdit" parent="."]
+margin_left = 16.0
+margin_top = 64.0
+margin_right = 112.0
+margin_bottom = 88.0
+text = "127.0.0.1"
+
+[node name="Port" type="SpinBox" parent="."]
+margin_left = 128.0
+margin_top = 64.0
+margin_right = 202.0
+margin_bottom = 88.0
+max_value = 65536.0
+value = 25565.0
+
+[node name="Name" type="LineEdit" parent="."]
+margin_left = 16.0
+margin_top = 96.0
+margin_right = 199.0
+margin_bottom = 120.0
+text = "PlayerName"
+
+[node name="ConnectButton" type="Button" parent="."]
+margin_left = 16.0
+margin_top = 128.0
+margin_right = 202.0
+margin_bottom = 153.0
+text = "Connect"
+
+[node name="BackButton" type="Button" parent="."]
+margin_left = 16.0
+margin_top = 16.0
+margin_right = 80.0
+margin_bottom = 36.0
+text = "Back"
+
+[connection signal="pressed" from="ConnectButton" to="." method="_connect_btn"]
+[connection signal="pressed" from="BackButton" to="." method="back_to_main"]