235 lines
7.1 KiB
Plaintext
235 lines
7.1 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
|
|
[ext_resource path="res://menu/settings_menu.gd" type="Script" id=2]
|
|
[ext_resource path="res://menu/default_theme.tres" type="Theme" id=3]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 64
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="DynamicFont" id=4]
|
|
size = 24
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="DynamicFont" id=5]
|
|
font_data = ExtResource( 1 )
|
|
|
|
[node name="SettingsMenu" type="Panel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 3 )
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 20.0
|
|
margin_top = 20.0
|
|
margin_right = -20.0
|
|
margin_bottom = -20.0
|
|
|
|
[node name="VSplitContainer" type="VSplitContainer" parent="MarginContainer"]
|
|
margin_right = 984.0
|
|
margin_bottom = 705.0
|
|
dragger_visibility = 1
|
|
|
|
[node name="HSplitContainer" type="HSplitContainer" parent="MarginContainer/VSplitContainer"]
|
|
margin_right = 984.0
|
|
margin_bottom = 72.0
|
|
dragger_visibility = 1
|
|
|
|
[node name="BackButton" type="Button" parent="MarginContainer/VSplitContainer/HSplitContainer"]
|
|
margin_right = 116.0
|
|
margin_bottom = 72.0
|
|
text = "Back"
|
|
|
|
[node name="Title" type="Label" parent="MarginContainer/VSplitContainer/HSplitContainer"]
|
|
margin_left = 140.0
|
|
margin_right = 984.0
|
|
margin_bottom = 72.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Settings"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VSplitContainer"]
|
|
margin_top = 96.0
|
|
margin_right = 984.0
|
|
margin_bottom = 705.0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer/CenterContainer"]
|
|
margin_left = 356.0
|
|
margin_right = 627.0
|
|
margin_bottom = 609.0
|
|
|
|
[node name="Gameplay" type="Label" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_right = 271.0
|
|
margin_bottom = 27.0
|
|
custom_fonts/font = SubResource( 4 )
|
|
text = "Gameplay"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AutoClutchCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 35.0
|
|
margin_right = 271.0
|
|
margin_bottom = 83.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Automatic Clutch"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AutomaticTransmissionCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 91.0
|
|
margin_right = 271.0
|
|
margin_bottom = 139.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Automatic Transmission"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MultiplayerNameLabel" type="Label" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 147.0
|
|
margin_right = 271.0
|
|
margin_bottom = 165.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Multiplayer name"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MultiplayerNameBox" type="LineEdit" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 173.0
|
|
margin_right = 271.0
|
|
margin_bottom = 229.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AudioLabel" type="Label" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 237.0
|
|
margin_right = 271.0
|
|
margin_bottom = 264.0
|
|
custom_fonts/font = SubResource( 4 )
|
|
text = "Audio"
|
|
align = 1
|
|
|
|
[node name="MasterLabel" type="Label" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 272.0
|
|
margin_right = 271.0
|
|
margin_bottom = 290.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Master"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MasterSlider" type="HSlider" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 298.0
|
|
margin_right = 271.0
|
|
margin_bottom = 330.0
|
|
max_value = 1.0
|
|
step = 0.05
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SoundEffectsLabel" type="Label" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 338.0
|
|
margin_right = 271.0
|
|
margin_bottom = 356.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Sound Effects"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SoundEffectsSlider" type="HSlider" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 364.0
|
|
margin_right = 271.0
|
|
margin_bottom = 396.0
|
|
max_value = 1.0
|
|
step = 0.05
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MusicLabel" type="Label" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 404.0
|
|
margin_right = 271.0
|
|
margin_bottom = 422.0
|
|
custom_fonts/font = SubResource( 5 )
|
|
text = "Music"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MusicSlider" type="HSlider" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 430.0
|
|
margin_right = 271.0
|
|
margin_bottom = 462.0
|
|
max_value = 1.0
|
|
step = 0.05
|
|
value = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VideoLabel" type="Label" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 470.0
|
|
margin_right = 271.0
|
|
margin_bottom = 497.0
|
|
custom_fonts/font = SubResource( 4 )
|
|
text = "Video"
|
|
align = 1
|
|
|
|
[node name="FullscreenCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 505.0
|
|
margin_right = 271.0
|
|
margin_bottom = 553.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Fullscreen"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="BorderlessCheckBox" type="CheckBox" parent="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer"]
|
|
margin_top = 561.0
|
|
margin_right = 271.0
|
|
margin_bottom = 609.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "Borderless"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="pressed" from="MarginContainer/VSplitContainer/HSplitContainer/BackButton" to="." method="_on_BackButton_pressed"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/AutoClutchCheckBox" to="." method="_on_autoclutch_toggled"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/AutomaticTransmissionCheckBox" to="." method="_on_automatictransmission_toggled"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/MasterSlider" to="." method="_on_MasterSlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/SoundEffectsSlider" to="." method="_on_SoundEffectsSlider_value_changed"]
|
|
[connection signal="value_changed" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/MusicSlider" to="." method="_on_MusicSlider_value_changed"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/FullscreenCheckBox" to="." method="_on_fullscreen_toggled"]
|
|
[connection signal="toggled" from="MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/BorderlessCheckBox" to="." method="_on_borderless_toggled"]
|