From 12d68d12315d9abfecc493dc3322cebe6003d7f7 Mon Sep 17 00:00:00 2001 From: To Live Is To Die Date: Sun, 27 Mar 2022 12:05:25 -0600 Subject: [PATCH] Changes to settings menu --- .../SettingsMenuControl.tscn | 194 ++++++++++++++++++ .../screens/SettingsMenuControl.tscn | 112 +++++----- 2 files changed, 244 insertions(+), 62 deletions(-) create mode 100644 Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/SettingsMenuControl.tscn diff --git a/Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/SettingsMenuControl.tscn b/Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/SettingsMenuControl.tscn new file mode 100644 index 0000000..e0dc656 --- /dev/null +++ b/Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/SettingsMenuControl.tscn @@ -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 diff --git a/Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/screens/SettingsMenuControl.tscn b/Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/screens/SettingsMenuControl.tscn index a5864c0..11df794 100644 --- a/Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/screens/SettingsMenuControl.tscn +++ b/Phase2/Godot ===(Game Code)===/MainMenu/GodotUserInterface_Luke_Settings/bcirpg_settingsMenuLuke/screens/SettingsMenuControl.tscn @@ -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