Changes to settings menu

This commit is contained in:
To Live Is To Die 2022-03-27 12:05:25 -06:00
parent 128e8b79dc
commit 12d68d1231
2 changed files with 244 additions and 62 deletions

View File

@ -0,0 +1,194 @@
[gd_scene format=2]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -12.9719
margin_top = -2.0755
margin_right = -12.9719
margin_bottom = -2.0755
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Panel"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -59.0
margin_right = 59.0
margin_bottom = 14.0
text = "Player Preferances"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Label"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -77.5
margin_top = 30.0
margin_right = 77.5
margin_bottom = 52.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxRiskFactor" type="HBoxContainer" parent="Panel/Label/VBoxContainer"]
margin_right = 202.0
margin_bottom = 24.0
[node name="Label" type="Label" parent="Panel/Label/VBoxContainer/HBoxRiskFactor"]
margin_top = 5.0
margin_right = 140.0
margin_bottom = 19.0
text = "Risk Factor Threshold:"
[node name="LineEdit" type="LineEdit" parent="Panel/Label/VBoxContainer/HBoxRiskFactor"]
margin_left = 144.0
margin_right = 202.0
margin_bottom = 24.0
[node name="HBoxDisplayName" type="HBoxContainer" parent="Panel/Label/VBoxContainer"]
margin_top = 28.0
margin_right = 202.0
margin_bottom = 52.0
[node name="Label" type="Label" parent="Panel/Label/VBoxContainer/HBoxDisplayName"]
margin_top = 5.0
margin_right = 93.0
margin_bottom = 19.0
text = "Display Name:"
[node name="LineEdit" type="LineEdit" parent="Panel/Label/VBoxContainer/HBoxDisplayName"]
margin_left = 97.0
margin_right = 155.0
margin_bottom = 24.0
[node name="Label2" type="Label" parent="Panel"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -47.5
margin_top = 100.0
margin_right = 47.5
margin_bottom = 14.0
text = "Visual Controls"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Label2"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -77.5
margin_top = 30.0
margin_right = 77.5
margin_bottom = 52.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxFontSize" type="HBoxContainer" parent="Panel/Label2/VBoxContainer"]
margin_right = 155.0
margin_bottom = 14.0
[node name="Label" type="Label" parent="Panel/Label2/VBoxContainer/HBoxFontSize"]
margin_right = 62.0
margin_bottom = 14.0
text = "Font Size:"
[node name="HSlider2" type="HSlider" parent="Panel/Label2/VBoxContainer"]
margin_top = 18.0
margin_right = 155.0
margin_bottom = 34.0
max_value = 10.0
tick_count = 10
ticks_on_borders = true
[node name="Label" type="Label" parent="Panel/Label2/VBoxContainer"]
margin_top = 38.0
margin_right = 155.0
margin_bottom = 52.0
text = "Brightness:"
[node name="HSlider3" type="HSlider" parent="Panel/Label2/VBoxContainer"]
margin_top = 56.0
margin_right = 155.0
margin_bottom = 72.0
max_value = 10.0
tick_count = 10
ticks_on_borders = true
[node name="Label3" type="Label" parent="Panel"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -52.5
margin_top = 220.0
margin_right = 52.5
text = "General Settings"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Label3"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -77.5
margin_top = 40.0
margin_right = 77.5
margin_bottom = 52.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Panel/Label3/VBoxContainer"]
margin_right = 155.0
margin_bottom = 14.0
rect_pivot_offset = Vector2( 62, 14 )
text = "Volume:"
[node name="HSlider2" type="HSlider" parent="Panel/Label3/VBoxContainer"]
margin_top = 18.0
margin_right = 155.0
margin_bottom = 34.0
max_value = 10.0
tick_count = 10
ticks_on_borders = true
[node name="HBoxClosedCaptions" type="HBoxContainer" parent="Panel/Label3/VBoxContainer"]
margin_top = 38.0
margin_right = 155.0
margin_bottom = 62.0
[node name="Label" type="Label" parent="Panel/Label3/VBoxContainer/HBoxClosedCaptions"]
margin_top = 5.0
margin_right = 106.0
margin_bottom = 19.0
text = "Closed Captions:"
[node name="CheckBox" type="CheckBox" parent="Panel/Label3/VBoxContainer/HBoxClosedCaptions"]
margin_left = 110.0
margin_right = 134.0
margin_bottom = 24.0
[node name="HBoxDevConsole" type="HBoxContainer" parent="Panel/Label3/VBoxContainer"]
margin_top = 66.0
margin_right = 155.0
margin_bottom = 90.0
[node name="Label" type="Label" parent="Panel/Label3/VBoxContainer/HBoxDevConsole"]
margin_top = 5.0
margin_right = 125.0
margin_bottom = 19.0
text = "Developer Console:"
[node name="CheckBox" type="CheckBox" parent="Panel/Label3/VBoxContainer/HBoxDevConsole"]
margin_left = 129.0
margin_right = 153.0
margin_bottom = 24.0

View File

@ -10,6 +10,10 @@ __meta__ = {
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -12.9719
margin_top = -2.0755
margin_right = -12.9719
margin_bottom = -2.0755
__meta__ = {
"_edit_use_anchors_": false
}
@ -36,25 +40,9 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxDisplayName" type="HBoxContainer" parent="Panel/Label/VBoxContainer"]
margin_right = 202.0
margin_bottom = 24.0
[node name="Label" type="Label" parent="Panel/Label/VBoxContainer/HBoxDisplayName"]
margin_top = 5.0
margin_right = 93.0
margin_bottom = 19.0
text = "Display Name:"
[node name="LineEdit" type="LineEdit" parent="Panel/Label/VBoxContainer/HBoxDisplayName"]
margin_left = 97.0
margin_right = 155.0
margin_bottom = 24.0
[node name="HBoxRiskFactor" type="HBoxContainer" parent="Panel/Label/VBoxContainer"]
margin_top = 28.0
margin_right = 202.0
margin_bottom = 52.0
margin_bottom = 24.0
[node name="Label" type="Label" parent="Panel/Label/VBoxContainer/HBoxRiskFactor"]
margin_top = 5.0
@ -67,11 +55,27 @@ margin_left = 144.0
margin_right = 202.0
margin_bottom = 24.0
[node name="HBoxDisplayName" type="HBoxContainer" parent="Panel/Label/VBoxContainer"]
margin_top = 28.0
margin_right = 202.0
margin_bottom = 52.0
[node name="Label" type="Label" parent="Panel/Label/VBoxContainer/HBoxDisplayName"]
margin_top = 5.0
margin_right = 93.0
margin_bottom = 19.0
text = "Display Name:"
[node name="LineEdit" type="LineEdit" parent="Panel/Label/VBoxContainer/HBoxDisplayName"]
margin_left = 97.0
margin_right = 155.0
margin_bottom = 24.0
[node name="Label2" type="Label" parent="Panel"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -47.5
margin_top = 120.0
margin_top = 100.0
margin_right = 47.5
margin_bottom = 14.0
text = "Visual Controls"
@ -90,41 +94,34 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxBrightness" type="HBoxContainer" parent="Panel/Label2/VBoxContainer"]
margin_right = 155.0
margin_bottom = 16.0
[node name="Label" type="Label" parent="Panel/Label2/VBoxContainer/HBoxBrightness"]
margin_top = 1.0
margin_right = 72.0
margin_bottom = 15.0
text = "Brightness:"
[node name="HSlider" type="HSlider" parent="Panel/Label2/VBoxContainer/HBoxBrightness"]
margin_left = 76.0
margin_right = 92.0
margin_bottom = 16.0
max_value = 10.0
value = 5.0
rounded = true
[node name="HBoxFontSize" type="HBoxContainer" parent="Panel/Label2/VBoxContainer"]
margin_top = 20.0
margin_right = 155.0
margin_bottom = 36.0
margin_bottom = 14.0
[node name="Label" type="Label" parent="Panel/Label2/VBoxContainer/HBoxFontSize"]
margin_top = 1.0
margin_right = 54.0
margin_bottom = 15.0
text = "FontSize"
margin_right = 62.0
margin_bottom = 14.0
text = "Font Size:"
[node name="HSlider" type="HSlider" parent="Panel/Label2/VBoxContainer/HBoxFontSize"]
margin_left = 58.0
margin_right = 74.0
margin_bottom = 16.0
[node name="HSlider2" type="HSlider" parent="Panel/Label2/VBoxContainer"]
margin_top = 18.0
margin_right = 155.0
margin_bottom = 34.0
max_value = 10.0
tick_count = 10
ticks_on_borders = true
[node name="Label" type="Label" parent="Panel/Label2/VBoxContainer"]
margin_top = 38.0
margin_right = 155.0
margin_bottom = 52.0
text = "Brightness:"
[node name="HSlider3" type="HSlider" parent="Panel/Label2/VBoxContainer"]
margin_top = 56.0
margin_right = 155.0
margin_bottom = 72.0
max_value = 10.0
rounded = true
tick_count = 10
ticks_on_borders = true
@ -150,26 +147,17 @@ __meta__ = {
[node name="HBoxVolume" type="HBoxContainer" parent="Panel/Label3/VBoxContainer"]
margin_right = 157.0
margin_bottom = 16.0
margin_bottom = 14.0
[node name="Label" type="Label" parent="Panel/Label3/VBoxContainer/HBoxVolume"]
margin_top = 1.0
margin_right = 57.0
margin_bottom = 15.0
margin_bottom = 14.0
text = "Volume::"
[node name="HSlider" type="HSlider" parent="Panel/Label3/VBoxContainer/HBoxVolume"]
margin_left = 61.0
margin_right = 77.0
margin_bottom = 16.0
max_value = 10.0
value = 5.0
rounded = true
[node name="HBoxClosedCaptions" type="HBoxContainer" parent="Panel/Label3/VBoxContainer"]
margin_top = 20.0
margin_top = 18.0
margin_right = 157.0
margin_bottom = 44.0
margin_bottom = 42.0
[node name="Label" type="Label" parent="Panel/Label3/VBoxContainer/HBoxClosedCaptions"]
margin_top = 5.0
@ -183,9 +171,9 @@ margin_right = 134.0
margin_bottom = 24.0
[node name="HBoxDevConsole" type="HBoxContainer" parent="Panel/Label3/VBoxContainer"]
margin_top = 48.0
margin_top = 46.0
margin_right = 157.0
margin_bottom = 72.0
margin_bottom = 70.0
[node name="Label" type="Label" parent="Panel/Label3/VBoxContainer/HBoxDevConsole"]
margin_top = 5.0