Made Pause Screen more appealing and fixed some unseen issues with separators
This commit is contained in:
@ -1,6 +1,9 @@
|
|||||||
[gd_scene load_steps=2 format=3 uid="uid://bwo6gvmi3jcqt"]
|
[gd_scene load_steps=5 format=3 uid="uid://bwo6gvmi3jcqt"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Assets/scripts/Pause Screen.gd" id="1_tqif2"]
|
[ext_resource type="Script" path="res://Assets/scripts/Pause Screen.gd" id="1_tqif2"]
|
||||||
|
[ext_resource type="Theme" uid="uid://bm7gkjfqwmc3i" path="res://Assets/Resources/main_menu_theme.tres" id="1_yky8a"]
|
||||||
|
[ext_resource type="Theme" uid="uid://cma1dv10wxujx" path="res://Assets/Resources/Themes/Settings_UI_Theme.tres" id="3_3n0hv"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dmut5abf8v8c1" path="res://Assets/components/Settings_Option.tscn" id="4_6nahw"]
|
||||||
|
|
||||||
[node name="Menus" type="Control"]
|
[node name="Menus" type="Control"]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
@ -9,6 +12,7 @@ anchor_right = 1.0
|
|||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
|
theme = ExtResource("1_yky8a")
|
||||||
script = ExtResource("1_tqif2")
|
script = ExtResource("1_tqif2")
|
||||||
|
|
||||||
[node name="Pause Menu" type="Control" parent="."]
|
[node name="Pause Menu" type="Control" parent="."]
|
||||||
@ -59,79 +63,88 @@ text = "Quit
|
|||||||
"
|
"
|
||||||
|
|
||||||
[node name="Settings" type="Control" parent="."]
|
[node name="Settings" type="Control" parent="."]
|
||||||
visible = false
|
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
offset_left = -23.0
|
|
||||||
offset_top = 42.0
|
|
||||||
offset_right = -23.0
|
|
||||||
offset_bottom = 42.0
|
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
|
theme = ExtResource("3_3n0hv")
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="Settings"]
|
[node name="ColorRect" type="ColorRect" parent="Settings"]
|
||||||
|
clip_contents = true
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
anchors_preset = 5
|
anchors_preset = -1
|
||||||
anchor_left = 0.5
|
anchor_left = 0.253
|
||||||
anchor_right = 0.5
|
anchor_top = 0.128
|
||||||
offset_left = -20.0
|
anchor_right = 0.747
|
||||||
offset_right = 20.0
|
anchor_bottom = 0.872
|
||||||
offset_bottom = 23.0
|
offset_left = 0.23996
|
||||||
|
offset_top = -0.240005
|
||||||
|
offset_right = -0.240112
|
||||||
|
offset_bottom = 0.239929
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
color = Color(0.164706, 0.172549, 0.215686, 0.662745)
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="Settings/ColorRect"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = -1
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.063
|
||||||
|
offset_left = 398.0
|
||||||
|
offset_top = 25.0
|
||||||
|
offset_right = -398.0
|
||||||
|
offset_bottom = 0.348
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
text = "Settings"
|
text = "Settings"
|
||||||
|
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="Settings"]
|
[node name="VBoxContainer" type="VBoxContainer" parent="Settings/ColorRect"]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
anchors_preset = 8
|
anchors_preset = -1
|
||||||
anchor_left = 0.5
|
anchor_top = 0.088
|
||||||
anchor_top = 0.5
|
anchor_right = 1.0
|
||||||
anchor_right = 0.5
|
anchor_bottom = 1.0
|
||||||
anchor_bottom = 0.5
|
offset_left = 146.0
|
||||||
offset_left = -223.0
|
offset_top = 44.248
|
||||||
offset_top = -430.5
|
offset_right = -151.0
|
||||||
offset_right = 223.0
|
offset_bottom = -16.0
|
||||||
offset_bottom = 430.5
|
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
|
|
||||||
[node name="ColorRect" type="ColorRect" parent="Settings/VBoxContainer"]
|
[node name="HBoxContainer" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||||
custom_minimum_size = Vector2(0, 35)
|
|
||||||
layout_mode = 2
|
|
||||||
color = Color(0.184314, 0.184314, 0.184314, 1)
|
|
||||||
|
|
||||||
[node name="HSplitContainer" type="HSplitContainer" parent="Settings/VBoxContainer/ColorRect"]
|
|
||||||
layout_mode = 2
|
|
||||||
offset_top = 4.0
|
|
||||||
offset_right = 446.0
|
|
||||||
offset_bottom = 27.0
|
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="Settings/VBoxContainer/ColorRect/HSplitContainer"]
|
|
||||||
layout_mode = 2
|
|
||||||
text = "Mouse Sensitity"
|
|
||||||
|
|
||||||
[node name="HSlider" type="HSlider" parent="Settings/VBoxContainer/ColorRect/HSplitContainer"]
|
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="ColorRect2" type="ColorRect" parent="Settings/VBoxContainer"]
|
[node name="HBoxContainer4" parent="Settings/ColorRect/VBoxContainer" instance=ExtResource("4_6nahw")]
|
||||||
custom_minimum_size = Vector2(0, 35)
|
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
color = Color(0.184314, 0.184314, 0.184314, 1)
|
SettingName = "Joystick Settings"
|
||||||
|
SettingLabel = "Joystick_Settings"
|
||||||
|
|
||||||
[node name="HSplitContainer" type="HSplitContainer" parent="Settings/VBoxContainer/ColorRect2"]
|
[node name="HBoxContainer2" type="HBoxContainer" parent="Settings/ColorRect/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
offset_top = 4.0
|
alignment = 1
|
||||||
offset_right = 446.0
|
|
||||||
offset_bottom = 27.0
|
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="Settings/VBoxContainer/ColorRect2/HSplitContainer"]
|
[node name="Label" type="Label" parent="Settings/ColorRect/VBoxContainer/HBoxContainer2"]
|
||||||
|
custom_minimum_size = Vector2(400, 0)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "Joystick Sensativity"
|
text = "Joystick Sensativity"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
|
||||||
[node name="HSlider" type="HSlider" parent="Settings/VBoxContainer/ColorRect2/HSplitContainer"]
|
[node name="HSlider" type="HSlider" parent="Settings/ColorRect/VBoxContainer/HBoxContainer2"]
|
||||||
|
custom_minimum_size = Vector2(200, 0)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 4
|
||||||
|
|
||||||
|
[node name="HBoxContainer3" type="HBoxContainer" parent="Settings/ColorRect/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="Settings/ColorRect/VBoxContainer/HBoxContainer3"]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="HSlider" type="HSlider" parent="Settings/ColorRect/VBoxContainer/HBoxContainer3"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 4
|
|
||||||
|
|
||||||
[connection signal="pressed" from="Pause Menu/Menu/Resume" to="." method="_on_resume_pressed"]
|
[connection signal="pressed" from="Pause Menu/Menu/Resume" to="." method="_on_resume_pressed"]
|
||||||
[connection signal="pressed" from="Pause Menu/Menu/Settings" to="." method="_on_settings_pressed"]
|
[connection signal="pressed" from="Pause Menu/Menu/Settings" to="." method="_on_settings_pressed"]
|
||||||
|
|||||||
Reference in New Issue
Block a user