-
Notifications
You must be signed in to change notification settings - Fork 1
/
menu.tscn
182 lines (160 loc) · 5.84 KB
/
menu.tscn
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
[gd_scene load_steps=14 format=3 uid="uid://01q0mkqq6cyc"]
[ext_resource type="Script" path="res://menu.gd" id="1_eu7su"]
[ext_resource type="Theme" uid="uid://jo1yymi26li8" path="res://ui.tres" id="1_t82vs"]
[ext_resource type="Material" uid="uid://caravddfeqne" path="res://crt.tres" id="3_jvyd7"]
[ext_resource type="Script" path="res://bloom_enabler.gd" id="3_q26gt"]
[ext_resource type="Texture2D" uid="uid://bhxou8m2l7g58" path="res://godotlogo.svg" id="4_7v3pp"]
[ext_resource type="AudioStream" uid="uid://15qqhnxq3qsb" path="res://exit.wav" id="4_a5p60"]
[ext_resource type="Script" path="res://auto_version_text.gd" id="4_eyfyr"]
[ext_resource type="Script" path="res://credit_font_fixer.gd" id="4_umvcn"]
[ext_resource type="AudioStream" uid="uid://dmj8ftlh3yxqx" path="res://badoop.wav" id="5_0q3eg"]
[ext_resource type="Texture2D" uid="uid://lny5dypoqcu2" path="res://tic80logo.svg" id="7_8pg1g"]
[sub_resource type="Environment" id="Environment_qp7m8"]
background_mode = 3
glow_enabled = true
glow_blend_mode = 1
glow_hdr_threshold = 0.0
[sub_resource type="LabelSettings" id="LabelSettings_ddmka"]
font_size = 91
font_color = Color(1.4, 1.4, 1.4, 1)
[sub_resource type="LabelSettings" id="LabelSettings_ljy7n"]
font_size = 26
font_color = Color(1.4, 1.4, 1.4, 1)
[node name="Menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="VBoxContainer" parent="." node_paths=PackedStringArray("list_of_buttons", "difficulty_button", "exit_button", "multiplayer_button", "select_sound", "exit_sound")]
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = 331.0
offset_top = -62.0
offset_right = -331.0
offset_bottom = 150.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
script = ExtResource("1_eu7su")
list_of_buttons = [NodePath("Play"), NodePath("Difficulty"), NodePath("Settings"), NodePath("Exit"), NodePath("Crongpedia")]
difficulty_button = NodePath("Difficulty")
exit_button = NodePath("Exit")
multiplayer_button = NodePath("Play Multiplayer")
select_sound = NodePath("../SelectSound")
exit_sound = NodePath("../ExitSound")
[node name="Play" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_t82vs")
theme_override_font_sizes/font_size = 36
text = "Singleplayer"
[node name="Play Multiplayer" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme = ExtResource("1_t82vs")
theme_override_font_sizes/font_size = 36
text = "Multiplayer"
[node name="Difficulty" type="Button" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_t82vs")
theme_override_font_sizes/font_size = 36
text = "Easy"
[node name="Settings" type="Button" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_t82vs")
theme_override_font_sizes/font_size = 36
text = "Settings"
[node name="Crongpedia" type="Button" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_t82vs")
theme_override_font_sizes/font_size = 36
text = "Crongpedia"
[node name="Exit" type="Button" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_t82vs")
theme_override_font_sizes/font_size = 36
text = "Exit"
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_qp7m8")
script = ExtResource("3_q26gt")
[node name="Title" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -223.0
offset_top = -10.0
offset_right = 228.0
offset_bottom = 142.0
grow_horizontal = 2
text = "Crong"
label_settings = SubResource("LabelSettings_ddmka")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Version" type="Label" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 7.0
offset_top = -184.0
offset_right = 388.0
offset_bottom = -6.0
grow_vertical = 0
text = "Ver Alpha 0.0.4"
label_settings = SubResource("LabelSettings_ljy7n")
vertical_alignment = 2
script = ExtResource("4_eyfyr")
[node name="Credit" type="Label" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -391.0
offset_top = -184.0
offset_right = -10.0
offset_bottom = -6.0
grow_horizontal = 0
grow_vertical = 0
text = "Made with ❤️ by Sparkwave
SFX made using TIC-80"
label_settings = SubResource("LabelSettings_ljy7n")
horizontal_alignment = 2
vertical_alignment = 2
script = ExtResource("4_umvcn")
[node name="Godotlogo" type="Sprite2D" parent="."]
position = Vector2(675, 608)
scale = Vector2(0.0608111, 0.0608111)
texture = ExtResource("4_7v3pp")
[node name="Tic80Logo" type="Sprite2D" parent="."]
position = Vector2(744, 608)
scale = Vector2(0.32304, 0.32304)
texture = ExtResource("7_8pg1g")
[node name="ColorRect" type="ColorRect" parent="."]
material = ExtResource("3_jvyd7")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="ExitSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_a5p60")
[node name="SelectSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("5_0q3eg")
[connection signal="pressed" from="HBoxContainer/Play" to="HBoxContainer" method="_on_play_pressed"]
[connection signal="pressed" from="HBoxContainer/Play Multiplayer" to="HBoxContainer" method="_on_multiplayer_pressed"]
[connection signal="pressed" from="HBoxContainer/Difficulty" to="HBoxContainer" method="_on_difficulty_pressed"]
[connection signal="pressed" from="HBoxContainer/Settings" to="HBoxContainer" method="_on_settings_pressed"]
[connection signal="pressed" from="HBoxContainer/Crongpedia" to="HBoxContainer" method="_on_pedia_pressed"]
[connection signal="pressed" from="HBoxContainer/Exit" to="HBoxContainer" method="_on_exit_pressed"]