aboutsummaryrefslogtreecommitdiff
path: root/game/src/MainMenu.tscn
blob: 587eb019c5c96355e2646a7929c24d213c0cf6b8 (plain) (blame)
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
[gd_scene load_steps=2 format=3 uid="uid://dvoin538iby54"]

[ext_resource type="Script" path="res://src/MainMenu.gd" id="1_6akq8"]

[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
script = ExtResource("1_6akq8")

[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="TitleLabel" type="Label" parent="VBox"]
layout_mode = 2
size_flags_vertical = 6
size_flags_stretch_ratio = 1.5
theme_override_font_sizes/font_size = 90
text = "OpenVic2"
horizontal_alignment = 1
vertical_alignment = 1

[node name="Center" type="CenterContainer" parent="VBox"]
layout_mode = 2
size_flags_vertical = 2

[node name="VBox" type="VBoxContainer" parent="VBox/Center"]
layout_mode = 2

[node name="NewGameButton" type="Button" parent="VBox/Center/VBox" node_paths=PackedStringArray("shortcut_context")]
layout_mode = 2
focus_neighbor_top = NodePath("../ExitButton")
shortcut_context = NodePath("")
text = "New Game"

[node name="ContinueButton" type="Button" parent="VBox/Center/VBox"]
layout_mode = 2
disabled = true
text = "Continue"

[node name="MultiplayerButton" type="Button" parent="VBox/Center/VBox"]
layout_mode = 2
text = "Multipayer"

[node name="OptionsButton" type="Button" parent="VBox/Center/VBox"]
layout_mode = 2
text = "Options"

[node name="ExitButton" type="Button" parent="VBox/Center/VBox"]
layout_mode = 2
focus_neighbor_bottom = NodePath("../NewGameButton")
text = "Exit"

[connection signal="pressed" from="VBox/Center/VBox/NewGameButton" to="." method="_on_new_game_button_pressed"]
[connection signal="pressed" from="VBox/Center/VBox/ContinueButton" to="." method="_on_continue_button_pressed"]
[connection signal="pressed" from="VBox/Center/VBox/MultiplayerButton" to="." method="_on_multi_player_button_pressed"]
[connection signal="pressed" from="VBox/Center/VBox/OptionsButton" to="." method="_on_options_button_pressed"]
[connection signal="pressed" from="VBox/Center/VBox/ExitButton" to="." method="_on_exit_button_pressed"]