[gd_scene load_steps=7 format=3 uid="uid://4itp2hjp14n2"] [ext_resource type="Theme" uid="uid://b5q8b0l6qp1dt" path="res://resources/pause_menu_theme.tres" id="1_3sxei"] [ext_resource type="Script" uid="uid://c71f7fatmvsra" path="res://scenes/ui/pause_menu/base_menu.gd" id="2_3sxei"] [sub_resource type="Animation" id="Animation_vx2qe"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(-400, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } [sub_resource type="Animation" id="Animation_q12vw"] resource_name = "hide" length = 0.2 step = 0.05 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(-400, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } [sub_resource type="Animation" id="Animation_3mo8w"] resource_name = "show" length = 0.2 step = 0.05 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(-400, 0), Vector2(0, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_q12vw"] _data = { &"RESET": SubResource("Animation_vx2qe"), &"hide": SubResource("Animation_q12vw"), &"show": SubResource("Animation_3mo8w") } [node name="BaseMenu" type="ColorRect" node_paths=PackedStringArray("animation_player")] visible = false custom_minimum_size = Vector2(400, 0) anchors_preset = 9 anchor_bottom = 1.0 offset_left = -400.0 grow_vertical = 2 theme = ExtResource("1_3sxei") color = Color(0.133333, 0.133333, 0.133333, 0.784314) script = ExtResource("2_3sxei") animation_player = NodePath("AnimationPlayer") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_q12vw") } autoplay = "show" [node name="MainContent" 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 = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="MenuContainer" type="VBoxContainer" parent="MainContent"] layout_mode = 2 size_flags_horizontal = 4 theme_override_constants/separation = 20 [node name="Title" type="Label" parent="MainContent/MenuContainer"] layout_mode = 2 theme_type_variation = &"MenuTitle" text = "Menu Title" horizontal_alignment = 1 vertical_alignment = 1 [node name="BottomRow" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -82.5 offset_top = -46.0 offset_right = 82.5 grow_horizontal = 2 grow_vertical = 0 theme_override_constants/margin_bottom = 10