Milestone 8 preparations 1

This commit is contained in:
Patrick_Pluto 2024-08-13 20:43:54 +02:00
parent 8b97a6ee7e
commit c9211b444e
26 changed files with 101 additions and 104 deletions

View file

@ -34,13 +34,13 @@ offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
[node name="name" type="TextEdit" parent="player_customization"]
[node name="name" type="LineEdit" parent="player_customization"]
custom_minimum_size = Vector2(256, 64)
layout_mode = 2
theme_override_font_sizes/font_size = 32
placeholder_text = "Username"
[node name="ip" type="TextEdit" parent="player_customization"]
[node name="ip" type="LineEdit" parent="player_customization"]
custom_minimum_size = Vector2(256, 64)
layout_mode = 2
theme_override_font_sizes/font_size = 32

View file

@ -45,12 +45,6 @@ size_flags_vertical = 8
theme_override_font_sizes/font_size = 32
text = "Settings"
[node name="matchmaking" type="Button" parent="main_content"]
layout_mode = 2
size_flags_vertical = 8
theme_override_font_sizes/font_size = 32
text = "Matchmaking Server (DEBUG)"
[node name="ver_string" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 3
@ -71,4 +65,3 @@ horizontal_alignment = 2
[connection signal="pressed" from="main_content/join" to="." method="_on_join_pressed"]
[connection signal="pressed" from="main_content/settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="main_content/matchmaking" to="." method="_on_matchmaking_pressed"]

View file

@ -54,12 +54,48 @@ layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "Matchmaking Server IP"
[node name="TextEdit" type="TextEdit" parent="VBoxContainer/ip"]
custom_minimum_size = Vector2(400, 56)
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ip"]
custom_minimum_size = Vector2(500, 56)
layout_mode = 2
theme_override_font_sizes/font_size = 32
placeholder_text = "Matchmaking Server IP"
script = ExtResource("3_faw6x")
[node name="port" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Label" type="Label" parent="VBoxContainer/port"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "Matchmaking Server Port"
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/port"]
custom_minimum_size = Vector2(500, 56)
layout_mode = 2
theme_override_font_sizes/font_size = 32
placeholder_text = "Matchmaking Server Port"
script = ExtResource("3_faw6x")
[node name="username" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Label" type="Label" parent="VBoxContainer/username"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "Username"
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/username"]
custom_minimum_size = Vector2(500, 56)
layout_mode = 2
theme_override_font_sizes/font_size = 32
placeholder_text = "Username"
script = ExtResource("3_faw6x")
[connection signal="item_selected" from="VBoxContainer/fps_counter/OptionButton" to="VBoxContainer/fps_counter/OptionButton" method="_on_item_selected"]
[connection signal="text_changed" from="VBoxContainer/ip/TextEdit" to="VBoxContainer/ip/TextEdit" method="_on_text_changed"]
[connection signal="text_changed" from="VBoxContainer/ip/LineEdit" to="VBoxContainer/ip/LineEdit" method="_on_text_changed"]
[connection signal="text_changed" from="VBoxContainer/port/LineEdit" to="VBoxContainer/port/LineEdit" method="_on_text_changed"]
[connection signal="text_changed" from="VBoxContainer/username/LineEdit" to="VBoxContainer/username/LineEdit" method="_on_text_changed"]