1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
[gd_scene load_steps=10 format=3 uid="uid://lxlgtjm8hw7v"]
[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_2vmyh"]
[ext_resource type="Script" path="res://menu/ingame.gd" id="2_0h3no"]
[ext_resource type="Shader" path="res://menu/blur_mix.gdshader" id="3_f6s5h"]
[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/font-sansita-swashed.woff2" id="4_scupw"]
[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("3_f6s5h")
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("4_scupw")
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_2vmyh")
script = ExtResource("2_0h3no")
[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="Resume" type="Button" parent="Side/Margin/Options"]
layout_mode = 2
text = "Resume"
alignment = 0
[node name="Lobby" type="Button" parent="Side/Margin/Options"]
layout_mode = 2
text = "Cancel game"
alignment = 0
[node name="Reconnect" type="Button" parent="Side/Margin/Options"]
layout_mode = 2
text = "Reconnect"
alignment = 0
[node name="Settings" type="Button" parent="Side/Margin/Options"]
layout_mode = 2
text = "Settings"
alignment = 0
[node name="MainMenu" 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 game"
alignment = 0
[connection signal="pressed" from="Side/Margin/Options/Resume" to="." method="_on_resume_pressed"]
[connection signal="pressed" from="Side/Margin/Options/Lobby" to="." method="_on_lobby_pressed"]
[connection signal="pressed" from="Side/Margin/Options/Reconnect" to="." method="_on_reconnect_pressed"]
[connection signal="pressed" from="Side/Margin/Options/Settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="Side/Margin/Options/MainMenu" to="." method="_on_main_menu_pressed"]
[connection signal="pressed" from="Side/Margin/Options/Quit" to="." method="_on_quit_pressed"]
|