aboutsummaryrefslogtreecommitdiff
path: root/client/menu/main.tscn
blob: ff4e7a94c24752fd15d40bf033886cfa6cb7fae3 (plain)
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
[gd_scene load_steps=9 format=3 uid="uid://dbj8508whxgwv"]

[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_3qfu3"]
[ext_resource type="Script" path="res://menu/main.gd" id="2_xjnc3"]
[ext_resource type="PackedScene" uid="uid://l4vm07dtda4j" path="res://menu/menu_background.tscn" id="3_4evao"]
[ext_resource type="Material" uid="uid://2j8a0c0a2ta5" path="res://menu/theme/blur_material.tres" id="4_nx4vf"]
[ext_resource type="Script" path="res://menu/blur_setup.gd" id="5_0mn56"]
[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/font-sansita-swashed.woff2" id="5_k7bqq"]
[ext_resource type="StyleBox" uid="uid://bw4jamyna1top" path="res://menu/theme/style/panel_style_sidebar.tres" id="5_qlyeo"]

[sub_resource type="FontVariation" id="FontVariation_htgmg"]
base_font = ExtResource("5_k7bqq")
variation_embolden = 0.5

[node name="MainMenu" 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_3qfu3")
script = ExtResource("2_xjnc3")

[node name="MenuBackground" parent="." instance=ExtResource("3_4evao")]

[node name="side" type="PanelContainer" parent="."]
material = ExtResource("4_nx4vf")
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 294.0
grow_vertical = 2
theme_override_styles/panel = ExtResource("5_qlyeo")
script = ExtResource("5_0mn56")

[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"]
auto_translate_mode = 2
layout_mode = 2
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_htgmg")
theme_override_font_sizes/font_size = 48
text = "Hurry Curry!"

[node name="spacer" type="Control" parent="side/margin/options"]
custom_minimum_size = Vector2(0, 10)
layout_mode = 2

[node name="first" type="VBoxContainer" parent="side/margin/options"]
layout_mode = 2

[node name="play" type="Button" parent="side/margin/options/first"]
layout_mode = 2
text = "c.menu.play"
alignment = 0

[node name="change_character" type="Button" parent="side/margin/options/first"]
layout_mode = 2
text = "c.menu.my_chef"
alignment = 0

[node name="settings" type="Button" parent="side/margin/options/first"]
layout_mode = 2
text = "c.menu.settings"
alignment = 0

[node name="credits" type="Button" parent="side/margin/options/first"]
layout_mode = 2
text = "c.menu.credits"
alignment = 0

[node name="quit" type="Button" parent="side/margin/options/first"]
layout_mode = 2
text = "c.menu.quit"
alignment = 0

[connection signal="pressed" from="side/margin/options/first/play" to="." method="_on_play_pressed"]
[connection signal="pressed" from="side/margin/options/first/change_character" to="." method="_on_change_character_pressed"]
[connection signal="pressed" from="side/margin/options/first/settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="side/margin/options/first/credits" to="." method="_on_credits_pressed"]
[connection signal="pressed" from="side/margin/options/first/quit" to="." method="_on_quit_pressed"]