[gd_scene load_steps=5 format=3 uid="uid://buvl1aa0733mn"] [ext_resource type="Script" path="res://scripts/settings_multioption.gd" id="1_kmx8a"] [ext_resource type="Script" path="res://scripts/main_settings.gd" id="1_vdm7d"] [ext_resource type="Script" path="res://scripts/settings_text.gd" id="3_faw6x"] [ext_resource type="Script" path="res://scripts/settings_slider.gd" id="4_73ura"] [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 item_count = 2 popup/item_0/text = "Off" popup/item_1/text = "On" popup/item_1/id = 1 script = ExtResource("1_kmx8a") [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" [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") [node name="sensitivity" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 [node name="Label" type="Label" parent="VBoxContainer/sensitivity"] layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "Mouse sensitivity" [node name="HSlider" type="HSlider" parent="VBoxContainer/sensitivity"] custom_minimum_size = Vector2(400, 50) layout_mode = 2 max_value = 1.0 step = 0.01 value = 0.5 script = ExtResource("4_73ura") [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/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"] [connection signal="drag_ended" from="VBoxContainer/sensitivity/HSlider" to="VBoxContainer/sensitivity/HSlider" method="_on_drag_ended"]