[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://rswq6vrwr2nx" path="res://InstrumentSans-VariableFont_wdth,wght.ttf" id="2_05uyy"] [ext_resource type="FontFile" uid="uid://bulwhh7xjiip0" path="res://InstrumentSerif-Regular.ttf" id="3_p81d2"] [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) [sub_resource type="LabelSettings" id="LabelSettings_d3xb4"] font = ExtResource("3_p81d2") font_size = 120 outline_size = 25 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 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 size_flags_vertical = 8 [node name="ResumeButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 10 theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 35 text = "resume game | Spiel fortsetzen" [node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 3 theme_override_fonts/font = ExtResource("2_05uyy") theme_override_font_sizes/font_size = 35 text = "quit to main menu | zum Hauptmenü zurückkehren" [node name="Label" type="Label" 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 = -280.5 offset_top = 82.5 offset_right = 280.5 offset_bottom = 161.5 grow_horizontal = 2 grow_vertical = 2 text = "press SHIFT+ENTER to unlock the mouse press SHIFT+G to capture the mouse" label_settings = SubResource("LabelSettings_2nc7s") horizontal_alignment = 1 [node name="Label2" type="Label" 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 = -211.5 offset_top = -82.5 offset_right = 211.5 offset_bottom = 82.5 grow_horizontal = 2 grow_vertical = 2 text = "paused" label_settings = SubResource("LabelSettings_d3xb4") horizontal_alignment = 1 vertical_alignment = 1 [connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ResumeButton" to="." method="_on_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"]