summaryrefslogtreecommitdiff
path: root/scenes/ClientUI.tscn
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-08-31 00:26:34 -0700
committerAnson Bridges <bridges.anson@gmail.com>2022-08-31 00:26:34 -0700
commitd3998186c9795f2a85148cd5bcfa1bd5b6226cfb (patch)
treeba5cae524562818ee38da48dd09b0b42a733e1d8 /scenes/ClientUI.tscn
Initialize repo
Diffstat (limited to 'scenes/ClientUI.tscn')
-rw-r--r--scenes/ClientUI.tscn44
1 files changed, 44 insertions, 0 deletions
diff --git a/scenes/ClientUI.tscn b/scenes/ClientUI.tscn
new file mode 100644
index 0000000..0cd6b42
--- /dev/null
+++ b/scenes/ClientUI.tscn
@@ -0,0 +1,44 @@
+[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"]