aboutsummaryrefslogtreecommitdiff
path: root/client/menu/ingame.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/ingame.tscn')
-rw-r--r--client/menu/ingame.tscn129
1 files changed, 129 insertions, 0 deletions
diff --git a/client/menu/ingame.tscn b/client/menu/ingame.tscn
new file mode 100644
index 00000000..f704f348
--- /dev/null
+++ b/client/menu/ingame.tscn
@@ -0,0 +1,129 @@
+[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="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/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"]