[gd_scene load_steps=6 format=3 uid="uid://daoyebc0vm7sd"] [ext_resource type="Script" uid="uid://4v86257e5prv" path="res://pause_menu_itself.gd" id="1_hdmo1"] [ext_resource type="FontFile" uid="uid://cfk3fgwuhngcw" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="2_05uyy"] [ext_resource type="FontFile" uid="uid://bov4yqgsjbgm5" path="res://InstrumentSerif-Regular.ttf" id="3_p81d2"] [sub_resource type="LabelSettings" id="LabelSettings_d3xb4"] font = ExtResource("3_p81d2") font_size = 120 outline_size = 25 outline_color = Color(0, 0, 0, 1) [sub_resource type="LabelSettings" id="LabelSettings_2nc7s"] font = ExtResource("2_05uyy") font_size = 30 font_color = Color(0.941176, 0.788235, 0.996078, 1) outline_size = 5 outline_color = Color(0, 0, 0, 1) [node name="PauseMenu" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_hdmo1") [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.309804) [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 20 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 20 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 4 [node name="Label2" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 text = " paused" label_settings = SubResource("LabelSettings_d3xb4") vertical_alignment = 1 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 text = " press SHIFT+ENTER to unlock the mouse press SHIFT+G to capture the mouse" label_settings = SubResource("LabelSettings_2nc7s") [node name="ResumeButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 8 theme_override_colors/font_hover_color = Color(0.909804, 0.843137, 1, 1) theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 30 text = "resume game" flat = true [node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 3 theme_override_colors/font_hover_color = Color(0.909804, 0.843137, 1, 1) theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 30 text = "quit to main menu" flat = true [node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 size_flags_horizontal = 8 size_flags_vertical = 4 [connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"]