2024-08-11 19:43:03 +02:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://buvl1aa0733mn"]
|
2024-08-05 22:35:50 +02:00
|
|
|
|
2024-08-11 19:43:03 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/settings_multioption.gd" id="1_kmx8a"]
|
2024-08-05 22:35:50 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/main_settings.gd" id="1_vdm7d"]
|
2024-08-11 19:43:03 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/settings_text.gd" id="3_faw6x"]
|
2024-08-05 22:35:50 +02:00
|
|
|
|
|
|
|
[node name="Settings" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_vdm7d")
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="fps_counter" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/fps_counter"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
text = "FPS Counter"
|
|
|
|
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="VBoxContainer/fps_counter"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
alignment = 1
|
|
|
|
selected = 1
|
2024-08-11 19:43:03 +02:00
|
|
|
item_count = 2
|
2024-08-05 22:35:50 +02:00
|
|
|
popup/item_0/text = "Off"
|
|
|
|
popup/item_1/text = "On"
|
|
|
|
popup/item_1/id = 1
|
|
|
|
script = ExtResource("1_kmx8a")
|
|
|
|
|
2024-08-11 19:43:03 +02:00
|
|
|
[node name="ip" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/ip"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
text = "Matchmaking Server IP"
|
|
|
|
|
2024-08-13 20:43:54 +02:00
|
|
|
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/ip"]
|
|
|
|
custom_minimum_size = Vector2(500, 56)
|
2024-08-11 19:43:03 +02:00
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
placeholder_text = "Matchmaking Server IP"
|
|
|
|
script = ExtResource("3_faw6x")
|
|
|
|
|
2024-08-13 20:43:54 +02:00
|
|
|
[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")
|
|
|
|
|
2024-08-05 22:35:50 +02:00
|
|
|
[connection signal="item_selected" from="VBoxContainer/fps_counter/OptionButton" to="VBoxContainer/fps_counter/OptionButton" method="_on_item_selected"]
|
2024-08-13 20:43:54 +02:00
|
|
|
[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"]
|