-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMenu.tscn
151 lines (133 loc) · 4.67 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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://addons/dialogic/Example Assets/Fonts/DefaultFont.tres" type="DynamicFont" id=1]
[ext_resource path="res://addons/dialogic/Example Assets/Fonts/Overlock/Overlock.tres" type="DynamicFont" id=4]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.027451, 0.027451, 0.196078, 0.490196 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0, 0, 0, 0.686275 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.027451, 0.027451, 0.196078, 0.392157 )
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[node name="MainMenu" type="Control"]
anchor_top = 0.011
anchor_right = 1.0
anchor_bottom = 0.993
margin_left = -2.0
margin_top = -7.7
margin_bottom = 0.899963
[node name="Menu" type="Node2D" parent="."]
[node name="ColorRect" type="ColorRect" parent="Menu"]
anchor_left = 0.013
anchor_top = 0.011
anchor_right = 1.0
anchor_bottom = 1.011
margin_left = -3.0
margin_right = 5.856
color = Color( 0.32549, 0.286275, 0.443137, 1 )
[node name="MarginContainer" type="MarginContainer" parent="Menu"]
anchor_right = 0.914
anchor_bottom = 0.999
margin_right = 727.0
margin_bottom = 469.0
custom_constants/margin_right = 0
custom_constants/margin_top = 50
custom_constants/margin_left = 0
custom_constants/margin_bottom = 50
[node name="VBoxContainer" type="VBoxContainer" parent="Menu/MarginContainer"]
margin_top = 50.0
margin_right = 911.0
margin_bottom = 461.0
[node name="Label" type="Label" parent="Menu/MarginContainer/VBoxContainer"]
margin_right = 911.0
margin_bottom = 217.0
size_flags_horizontal = 3
size_flags_vertical = 7
custom_fonts/font = ExtResource( 4 )
text = "Ventreville:
Pride and Pestilence"
align = 1
valign = 1
uppercase = true
[node name="VBoxContainer" type="VBoxContainer" parent="Menu/MarginContainer/VBoxContainer"]
margin_top = 221.0
margin_right = 911.0
margin_bottom = 411.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 20
[node name="MarginContainer" type="MarginContainer" parent="Menu/MarginContainer/VBoxContainer/VBoxContainer"]
margin_right = 911.0
margin_bottom = 50.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 300
custom_constants/margin_top = 0
custom_constants/margin_left = 300
custom_constants/margin_bottom = 20
[node name="NewGameButton" type="Button" parent="Menu/MarginContainer/VBoxContainer/VBoxContainer/MarginContainer"]
margin_left = 300.0
margin_right = 611.0
margin_bottom = 30.0
focus_mode = 0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = ExtResource( 1 )
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
custom_styles/normal = SubResource( 3 )
text = "New Game"
[node name="MarginContainer2" type="MarginContainer" parent="Menu/MarginContainer/VBoxContainer/VBoxContainer"]
margin_top = 70.0
margin_right = 911.0
margin_bottom = 120.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 300
custom_constants/margin_top = 0
custom_constants/margin_left = 300
custom_constants/margin_bottom = 20
[node name="LoadGameButton" type="Button" parent="Menu/MarginContainer/VBoxContainer/VBoxContainer/MarginContainer2"]
margin_left = 300.0
margin_right = 611.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = ExtResource( 1 )
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
custom_styles/normal = SubResource( 3 )
text = "Load Game"
[node name="MarginContainer3" type="MarginContainer" parent="Menu/MarginContainer/VBoxContainer/VBoxContainer"]
margin_top = 140.0
margin_right = 911.0
margin_bottom = 190.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 300
custom_constants/margin_top = 0
custom_constants/margin_left = 300
custom_constants/margin_bottom = 20
[node name="OptionsButton" type="Button" parent="Menu/MarginContainer/VBoxContainer/VBoxContainer/MarginContainer3"]
margin_left = 300.0
margin_right = 611.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = ExtResource( 1 )
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
custom_styles/normal = SubResource( 3 )
text = "Options"
[connection signal="button_up" from="Menu/MarginContainer/VBoxContainer/VBoxContainer/MarginContainer/NewGameButton" to="." method="_on_NewGameButton_button_up"]