[gd_scene load_steps=3 format=3] [ext_resource type="Script" path="res://scripts/ui/pause_menu.gd" id="1_pause"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"] content_margin_left = 16.0 content_margin_top = 14.0 content_margin_right = 16.0 content_margin_bottom = 14.0 bg_color = Color(0.1, 0.1, 0.12, 0.94) corner_radius_top_left = 6 corner_radius_top_right = 6 corner_radius_bottom_right = 6 corner_radius_bottom_left = 6 [node name="PauseMenu" type="CanvasLayer"] layer = 6 script = ExtResource("1_pause") [node name="Root" type="Control" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="Panel" type="PanelContainer" parent="Root"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -170.0 offset_top = -160.0 offset_right = 170.0 offset_bottom = 160.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="Margin" type="MarginContainer" parent="Root/Panel"] theme_override_constants/margin_left = 12 theme_override_constants/margin_top = 8 theme_override_constants/margin_right = 12 theme_override_constants/margin_bottom = 8 [node name="Content" type="VBoxContainer" parent="Root/Panel/Margin"] theme_override_constants/separation = 10 [node name="TitleLabel" type="Label" parent="Root/Panel/Margin/Content"] theme_override_font_sizes/font_size = 24 text = "Pause" horizontal_alignment = 1 [node name="ResumeButton" type="Button" parent="Root/Panel/Margin/Content"] custom_minimum_size = Vector2(0, 44) text = "Weiterspielen" [node name="SaveButton" type="Button" parent="Root/Panel/Margin/Content"] custom_minimum_size = Vector2(0, 44) text = "Speichern" [node name="MenuButton" type="Button" parent="Root/Panel/Margin/Content"] custom_minimum_size = Vector2(0, 44) text = "Zum Hauptmenü" [node name="QuitButton" type="Button" parent="Root/Panel/Margin/Content"] custom_minimum_size = Vector2(0, 44) text = "Spiel beenden" [node name="FeedbackLabel" type="Label" parent="Root/Panel/Margin/Content"] theme_override_colors/font_color = Color(0.7, 0.9, 0.6, 1) theme_override_font_sizes/font_size = 16 text = "" horizontal_alignment = 1