[gd_scene load_steps=3 format=2] [ext_resource path="res://game/ui/commons/fonts/caslonantique.tres" type="DynamicFont" id=1] [ext_resource path="res://game/ui/commons/options/options.gd" type="Script" id=4] [node name="options" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } [node name="CenterContainer" type="CenterContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] margin_left = 482.0 margin_top = 354.0 margin_right = 798.0 margin_bottom = 546.0 __meta__ = { "_edit_use_anchors_": false } [node name="MarginContainer" type="MarginContainer" parent="CenterContainer/VBoxContainer"] margin_right = 316.0 margin_bottom = 161.0 size_flags_vertical = 6 custom_constants/margin_right = 20 custom_constants/margin_top = 20 custom_constants/margin_left = 20 custom_constants/margin_bottom = 20 [node name="options" type="GridContainer" parent="CenterContainer/VBoxContainer/MarginContainer"] margin_left = 20.0 margin_top = 20.0 margin_right = 296.0 margin_bottom = 141.0 size_flags_vertical = 6 custom_constants/hseparation = 40 columns = 2 __meta__ = { "_edit_use_anchors_": false } [node name="label" type="Label" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_right = 220.0 margin_bottom = 21.0 custom_fonts/font = ExtResource( 1 ) text = "OPTIONS_LANGUAGE" [node name="flags" type="HBoxContainer" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_left = 260.0 margin_right = 276.0 margin_bottom = 21.0 size_flags_vertical = 3 custom_constants/separation = 30 alignment = 1 [node name="label2" type="Label" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_top = 25.0 margin_right = 220.0 margin_bottom = 46.0 custom_fonts/font = ExtResource( 1 ) text = "GENERAL_VOLUME" [node name="general_volume" type="HSlider" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_left = 260.0 margin_top = 25.0 margin_right = 276.0 margin_bottom = 41.0 size_flags_horizontal = 3 min_value = 0.001 max_value = 1.0 step = 0.001 value = 0.001 [node name="label3" type="Label" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_top = 50.0 margin_right = 220.0 margin_bottom = 71.0 custom_fonts/font = ExtResource( 1 ) text = "SOUND_VOLUME" [node name="sound_volume" type="HSlider" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_left = 260.0 margin_top = 50.0 margin_right = 276.0 margin_bottom = 66.0 size_flags_horizontal = 3 min_value = 0.001 max_value = 1.0 step = 0.001 value = 0.001 [node name="label4" type="Label" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_top = 75.0 margin_right = 220.0 margin_bottom = 96.0 custom_fonts/font = ExtResource( 1 ) text = "MUSIC_VOLUME" [node name="music_volume" type="HSlider" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_left = 260.0 margin_top = 75.0 margin_right = 276.0 margin_bottom = 91.0 size_flags_horizontal = 3 min_value = 0.001 max_value = 1.0 step = 0.001 value = 0.001 [node name="label5" type="Label" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_top = 100.0 margin_right = 220.0 margin_bottom = 121.0 custom_fonts/font = ExtResource( 1 ) text = "SPEECH_VOLUME" [node name="speech_volume" type="HSlider" parent="CenterContainer/VBoxContainer/MarginContainer/options"] margin_left = 260.0 margin_top = 100.0 margin_right = 276.0 margin_bottom = 116.0 size_flags_horizontal = 3 min_value = 0.001 max_value = 1.0 step = 0.001 value = 0.001 [node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"] margin_top = 165.0 margin_right = 316.0 margin_bottom = 192.0 custom_constants/separation = 20 alignment = 1 [node name="back" type="Button" parent="CenterContainer/VBoxContainer/HBoxContainer"] margin_left = 22.0 margin_right = 196.0 margin_bottom = 27.0 custom_fonts/font = ExtResource( 1 ) text = "OPTIONS_BACK" __meta__ = { "_edit_use_anchors_": false } [node name="apply" type="Button" parent="CenterContainer/VBoxContainer/HBoxContainer"] margin_left = 216.0 margin_right = 293.0 margin_bottom = 27.0 custom_fonts/font = ExtResource( 1 ) text = "APPLY" __meta__ = { "_edit_use_anchors_": false } [connection signal="value_changed" from="CenterContainer/VBoxContainer/MarginContainer/options/general_volume" to="." method="_on_general_volume_changed"] [connection signal="value_changed" from="CenterContainer/VBoxContainer/MarginContainer/options/sound_volume" to="." method="_on_sound_volume_changed"] [connection signal="value_changed" from="CenterContainer/VBoxContainer/MarginContainer/options/music_volume" to="." method="_on_music_volume_changed"] [connection signal="value_changed" from="CenterContainer/VBoxContainer/MarginContainer/options/speech_volume" to="." method="_on_speech_volume_value_changed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/HBoxContainer/back" to="." method="_on_back_pressed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/HBoxContainer/apply" to="." method="_on_apply_pressed"]