[gd_scene load_steps=10 format=3 uid="uid://lxlgtjm8hw7v"] [ext_resource type="Script" path="res://menu/ingame_menu.gd" id="1_gd1i3"] [ext_resource type="Shader" path="res://menu/blur_mix.gdshader" id="1_o42mc"] [ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme.tres" id="1_tm331"] [ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/font-sansita-swashed.woff2" id="2_4u0ox"] [sub_resource type="Animation" id="Animation_8sedy"] length = 0.001 tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("side:position:x") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(-400, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } [sub_resource type="Animation" id="Animation_660jl"] resource_name = "activate" tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("side:position:x") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "handle_modes": PackedInt32Array(0, 0), "points": PackedFloat32Array(-400, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 1) } [sub_resource type="AnimationLibrary" id="AnimationLibrary_u0kyp"] _data = { "RESET": SubResource("Animation_8sedy"), "activate": SubResource("Animation_660jl") } [sub_resource type="ShaderMaterial" id="ShaderMaterial_o2vtr"] shader = ExtResource("1_o42mc") shader_parameter/blur_amount = 3.5 shader_parameter/mix_amount = 0.3 shader_parameter/color_over = null [sub_resource type="FontVariation" id="FontVariation_ud3l8"] base_font = ExtResource("2_4u0ox") variation_embolden = 0.5 [node name="IngameMenu" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("1_tm331") script = ExtResource("1_gd1i3") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_u0kyp") } speed_scale = 8.0 [node name="side" type="PanelContainer" parent="."] material = SubResource("ShaderMaterial_o2vtr") layout_mode = 1 anchors_preset = 9 anchor_bottom = 1.0 offset_left = -400.0 offset_right = -90.0 grow_vertical = 2 [node name="margin" type="MarginContainer" parent="side"] layout_mode = 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="options" type="VBoxContainer" parent="side/margin"] layout_mode = 2 [node name="title" type="Label" parent="side/margin/options"] layout_mode = 2 auto_translate = false theme_override_colors/font_outline_color = Color(0.566408, 0.208917, 0.266045, 1) theme_override_constants/outline_size = 10 theme_override_fonts/font = SubResource("FontVariation_ud3l8") theme_override_font_sizes/font_size = 48 text = "Undercooked" [node name="spacer" type="Control" parent="side/margin/options"] custom_minimum_size = Vector2(0, 10) layout_mode = 2 [node name="reconnect" type="Button" parent="side/margin/options"] layout_mode = 2 text = "Reconnect" alignment = 0 [node name="main_menu" type="Button" parent="side/margin/options"] layout_mode = 2 text = "Main Menu" alignment = 0 [node name="quit" type="Button" parent="side/margin/options"] layout_mode = 2 text = "Quit" alignment = 0 [connection signal="pressed" from="side/margin/options/reconnect" to="." method="_on_reconnect_pressed"] [connection signal="pressed" from="side/margin/options/main_menu" to="." method="_on_main_menu_pressed"] [connection signal="pressed" from="side/margin/options/quit" to="." method="_on_quit_pressed"]