-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.tscn
82 lines (72 loc) · 2.27 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
[gd_scene load_steps=3 format=3 uid="uid://djtplwxhi4ge3"]
[ext_resource type="Theme" uid="uid://dl0gbdiw5jef3" path="res://menu_theme.tres" id="1_1kurd"]
[ext_resource type="Script" path="res://menu.gd" id="1_m26dy"]
[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
script = ExtResource("1_m26dy")
[node name="Buttons" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(225, 175)
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -40.0
offset_top = -40.0
grow_horizontal = 0
grow_vertical = 0
[node name="ContinueGame" type="Button" parent="Buttons"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
theme = ExtResource("1_1kurd")
disabled = true
text = "CONTINUE_GAME"
[node name="NewGame" type="Button" parent="Buttons"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
theme = ExtResource("1_1kurd")
text = "NEW_GAME"
[node name="Exit" type="Button" parent="Buttons"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
theme = ExtResource("1_1kurd")
text = "EXIT"
[node name="OtherButtons" type="HBoxContainer" parent="."]
custom_minimum_size = Vector2(593, 45)
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -20.0
offset_right = 568.0
grow_vertical = 0
theme = ExtResource("1_1kurd")
alignment = 2
[node name="Language" type="OptionButton" parent="OtherButtons"]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
theme = ExtResource("1_1kurd")
[node name="JamWebsite" type="LinkButton" parent="OtherButtons"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
theme = ExtResource("1_1kurd")
text = "Siberian Game Jam (https://sibgamejam.com/)"
uri = "https://sibgamejam.com/"
[connection signal="pressed" from="Buttons/ContinueGame" to="." method="_on_continue_game_pressed"]
[connection signal="pressed" from="Buttons/NewGame" to="." method="_on_new_game_pressed"]
[connection signal="pressed" from="Buttons/Exit" to="." method="_on_exit_pressed"]