Added a basic test map, options menu, bug fixes, and much more.
This commit is contained in:
Patrick 2025-08-08 10:57:42 +02:00
parent d72b5ac57b
commit 2dce012535
34 changed files with 1268 additions and 84 deletions

View file

@ -12,8 +12,56 @@ grow_vertical = 2
script = ExtResource("1_ju2tq")
[node name="PlayerList" type="Label" parent="."]
visible = false
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 1.0
grow_vertical = 2
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"]