From d3998186c9795f2a85148cd5bcfa1bd5b6226cfb Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Wed, 31 Aug 2022 00:26:34 -0700 Subject: Initialize repo --- scenes/ClientUI.tscn | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 scenes/ClientUI.tscn (limited to 'scenes/ClientUI.tscn') 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"] -- cgit v1.2.3