summaryrefslogtreecommitdiff
path: root/src/ui/main_menu/scenes/MainMenu.tscn
blob: 9bce7f04954c528e84b7f28eddd5fba3b2e666a3 (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
[gd_scene load_steps=5 format=2]

[ext_resource path="res://ui/main_menu/scenes/MenuOption.tscn" type="PackedScene" id=1]
[ext_resource path="res://fonts/monogram_extended.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://ui/main_menu/scripts/main_menu.gd" type="Script" id=3]

[sub_resource type="DynamicFont" id=1]
size = 64
font_data = ExtResource( 2 )

[node name="MainMenu" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
START_OPTION_NP = NodePath("Center/VBox/Options/VBox/Start")
SETTINGS_OPTION_NP = NodePath("Center/VBox/Options/VBox/Settings")
EXIT_OPTION_NP = NodePath("Center/VBox/Options/VBox/Exit")

[node name="Center" type="CenterContainer" parent="."]
margin_right = 320.0
margin_bottom = 180.0

[node name="VBox" type="VBoxContainer" parent="Center"]
margin_left = 100.0
margin_top = 28.0
margin_right = 220.0
margin_bottom = 152.0
custom_constants/separation = 16

[node name="Title" type="CenterContainer" parent="Center/VBox"]
margin_right = 120.0
margin_bottom = 52.0

[node name="Label" type="Label" parent="Center/VBox/Title"]
margin_right = 120.0
margin_bottom = 52.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 1 )
text = "Snake"

[node name="Options" type="CenterContainer" parent="Center/VBox"]
margin_top = 68.0
margin_right = 120.0
margin_bottom = 124.0

[node name="VBox" type="VBoxContainer" parent="Center/VBox/Options"]
margin_left = 20.0
margin_right = 100.0
margin_bottom = 56.0

[node name="Start" parent="Center/VBox/Options/VBox" instance=ExtResource( 1 )]
margin_right = 80.0
label_text = "Start"
selected = true

[node name="Settings" parent="Center/VBox/Options/VBox" instance=ExtResource( 1 )]
margin_top = 20.0
margin_right = 80.0
margin_bottom = 36.0
label_text = "Settings"

[node name="Exit" parent="Center/VBox/Options/VBox" instance=ExtResource( 1 )]
margin_top = 40.0
margin_right = 80.0
margin_bottom = 56.0
label_text = "Exit"