2025-07-31 13:57:50 +02:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://dpxam8lwgsd6q"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://b5gc2gq5adxsf" path="res://ui/join_game.gd" id="1_ju2tq"]
|
2025-07-18 19:32:37 +01:00
|
|
|
|
|
|
|
[node name="JoinGame" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2025-07-31 13:57:50 +02:00
|
|
|
script = ExtResource("1_ju2tq")
|
|
|
|
|
|
|
|
[node name="PlayerList" type="Label" parent="."]
|
2025-08-08 10:57:42 +02:00
|
|
|
visible = false
|
2025-07-31 13:57:50 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 9
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_right = 1.0
|
|
|
|
grow_vertical = 2
|
2025-08-08 10:57:42 +02:00
|
|
|
text = "Connecting to the server..."
|
|
|
|
|
|
|
|
[node name="OptionsList" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -20.0
|
|
|
|
offset_top = -20.0
|
|
|
|
offset_right = 20.0
|
|
|
|
offset_bottom = 20.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="UsernameOption" type="HBoxContainer" parent="OptionsList"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 8
|
|
|
|
|
|
|
|
[node name="OptionName" type="Label" parent="OptionsList/UsernameOption"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Username:"
|
|
|
|
|
|
|
|
[node name="OptionInput" type="LineEdit" parent="OptionsList/UsernameOption"]
|
|
|
|
custom_minimum_size = Vector2(175, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
max_length = 20
|
|
|
|
|
|
|
|
[node name="IpAddressOption" type="HBoxContainer" parent="OptionsList"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 8
|
|
|
|
|
|
|
|
[node name="OptionName" type="Label" parent="OptionsList/IpAddressOption"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "IP Address:"
|
|
|
|
|
|
|
|
[node name="OptionInput" type="LineEdit" parent="OptionsList/IpAddressOption"]
|
|
|
|
custom_minimum_size = Vector2(175, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
max_length = 20
|
|
|
|
|
|
|
|
[node name="JoinButton" type="Button" parent="OptionsList"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Join Server"
|
|
|
|
|
|
|
|
[connection signal="pressed" from="OptionsList/JoinButton" to="." method="_on_join_button_pressed"]
|