SolokNightAdventures/scenes/pause_menu.tscn
2025-02-15 15:36:27 +01:00

135 lines
5.2 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://dtsxritjcddxc"]
[ext_resource type="Script" path="res://scripts/pause_menu.gd" id="1_6ya5j"]
[ext_resource type="FontFile" uid="uid://bsnrkucx738te" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="1_7l1o7"]
[ext_resource type="PackedScene" uid="uid://ba41h5bxomx8c" path="res://scenes/settings.tscn" id="3_qpp3d"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1i6wl"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_608mi"]
bg_color = Color(0.497474, 0.497474, 0.497474, 1)
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
shadow_color = Color(0, 0, 0, 0.368627)
shadow_size = 5
shadow_offset = Vector2(0, 3.41)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o8wg7"]
bg_color = Color(0.737193, 0.737193, 0.737193, 1)
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
shadow_color = Color(0, 0, 0, 0.368627)
shadow_size = 5
shadow_offset = Vector2(0, 3.41)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7su0m"]
bg_color = Color(0.497474, 0.497474, 0.497474, 1)
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
shadow_color = Color(0, 0, 0, 0.368627)
shadow_size = 5
shadow_offset = Vector2(0, 3.41)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q67y6"]
bg_color = Color(1, 1, 1, 1)
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
shadow_color = Color(0, 0, 0, 0.368627)
shadow_size = 5
shadow_offset = Vector2(0, 3.41)
[node name="Pause Menu" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
focus_neighbor_top = NodePath("VBoxContainer/Main Menu")
script = ExtResource("1_6ya5j")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -219.0
offset_top = -116.0
offset_right = 219.0
offset_bottom = 164.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 20
[node name="Resume" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
focus_neighbor_top = NodePath("../Main Menu")
focus_neighbor_bottom = NodePath("../Options")
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_focus_color = Color(0.513726, 0.513726, 0, 1)
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_7l1o7")
theme_override_font_sizes/font_size = 24
theme_override_styles/focus = SubResource("StyleBoxEmpty_1i6wl")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_608mi")
theme_override_styles/hover = SubResource("StyleBoxFlat_o8wg7")
theme_override_styles/pressed = SubResource("StyleBoxFlat_7su0m")
theme_override_styles/normal = SubResource("StyleBoxFlat_q67y6")
text = "Resume"
[node name="Options" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
focus_neighbor_top = NodePath("../Resume")
focus_neighbor_bottom = NodePath("../Main Menu")
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_focus_color = Color(0.513726, 0.513726, 0, 1)
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_7l1o7")
theme_override_font_sizes/font_size = 24
theme_override_styles/focus = SubResource("StyleBoxEmpty_1i6wl")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_608mi")
theme_override_styles/hover = SubResource("StyleBoxFlat_o8wg7")
theme_override_styles/pressed = SubResource("StyleBoxFlat_7su0m")
theme_override_styles/normal = SubResource("StyleBoxFlat_q67y6")
text = "Options"
[node name="Main Menu" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
focus_neighbor_top = NodePath("../Options")
focus_neighbor_bottom = NodePath("../Resume")
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_focus_color = Color(0.513726, 0.513726, 0, 1)
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_7l1o7")
theme_override_font_sizes/font_size = 24
theme_override_styles/focus = SubResource("StyleBoxEmpty_1i6wl")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_608mi")
theme_override_styles/hover = SubResource("StyleBoxFlat_o8wg7")
theme_override_styles/pressed = SubResource("StyleBoxFlat_7su0m")
theme_override_styles/normal = SubResource("StyleBoxFlat_q67y6")
text = "Quit and Save"
[node name="Settings" parent="." instance=ExtResource("3_qpp3d")]
visible = false
layout_mode = 1
[connection signal="pressed" from="VBoxContainer/Resume" to="." method="_on_resume_pressed"]
[connection signal="pressed" from="VBoxContainer/Options" to="." method="_on_options_pressed"]
[connection signal="pressed" from="VBoxContainer/Main Menu" to="." method="_on_main_menu_pressed"]