summaryrefslogtreecommitdiff
path: root/UI/Start.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-26 17:13:40 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-26 17:13:40 +0100
commitcb9bb9d1c757b53707c741a3c8c218b513ffb5ec (patch)
tree1e3741a70672504d71685db98b22f7fe61e0e6cb /UI/Start.tscn
parent72863ffa31e27f4c6be862d80472cfb897fccaea (diff)
next commit
Diffstat (limited to 'UI/Start.tscn')
-rw-r--r--UI/Start.tscn21
1 files changed, 19 insertions, 2 deletions
diff --git a/UI/Start.tscn b/UI/Start.tscn
index 64b789d..efa061c 100644
--- a/UI/Start.tscn
+++ b/UI/Start.tscn
@@ -52,11 +52,18 @@ grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
-[node name="Name" type="LineEdit" parent="CenterContainer/VBoxContainer"]
+[node name="GameName" type="LineEdit" parent="CenterContainer/VBoxContainer"]
+unique_name_in_owner = true
+custom_minimum_size = Vector2(175, 0)
+layout_mode = 2
+theme_override_font_sizes/font_size = 18
+placeholder_text = "Game Name"
+
+[node name="Username" type="LineEdit" parent="CenterContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
-placeholder_text = "Name"
+placeholder_text = "Username"
[node name="Host" type="Button" parent="CenterContainer/VBoxContainer"]
unique_name_in_owner = true
@@ -86,5 +93,15 @@ mouse_default_cursor_shape = 2
theme_override_font_sizes/font_size = 24
text = "Join"
+[node name="Search" type="Button" parent="CenterContainer/VBoxContainer"]
+unique_name_in_owner = true
+layout_mode = 2
+mouse_default_cursor_shape = 2
+theme_override_font_sizes/font_size = 24
+text = "Search"
+
+[node name="ServerHost" type="HTTPRequest" parent="."]
+
[connection signal="pressed" from="CenterContainer/VBoxContainer/Host" to="." method="_on_host_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/Join" to="." method="_on_join_pressed"]
+[connection signal="pressed" from="CenterContainer/VBoxContainer/Search" to="." method="_on_search_pressed"]