-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.tscn
More file actions
170 lines (153 loc) · 4.46 KB
/
Menu.tscn
File metadata and controls
170 lines (153 loc) · 4.46 KB
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
[gd_scene load_steps=11 format=2]
[ext_resource path="res://m5x7.tres" type="DynamicFont" id=1]
[ext_resource path="res://Menu.gd" type="Script" id=2]
[ext_resource path="res://Sprites/medium.png" type="Texture" id=3]
[ext_resource path="res://Sprites/large.png" type="Texture" id=4]
[ext_resource path="res://Sprites/small.png" type="Texture" id=5]
[ext_resource path="res://Sounds/Menu_1_Wav.ogg" type="AudioStream" id=6]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.6, 0.6, 0.6, 0 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
[sub_resource type="StyleBoxEmpty" id=2]
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.6, 0.6, 0.6, 0 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
[sub_resource type="StyleBoxEmpty" id=4]
[node name="Menu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -0.222717
margin_bottom = -0.222717
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.235294, 0.239216, 0.278431, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 7.31503
margin_top = -57.685
margin_right = 56.315
margin_bottom = -5.68498
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="StartButton" type="Button" parent="VBoxContainer"]
margin_right = 48.0
margin_bottom = 13.0
focus_neighbour_top = NodePath("../QuitButton")
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 3 )
custom_styles/normal = SubResource( 4 )
custom_fonts/font = ExtResource( 1 )
text = "Start"
__meta__ = {
"_editor_description_": ""
}
[node name="CreditsButton" type="Button" parent="VBoxContainer"]
margin_top = 17.0
margin_right = 48.0
margin_bottom = 30.0
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 3 )
custom_styles/normal = SubResource( 4 )
custom_fonts/font = ExtResource( 1 )
text = "Credits"
__meta__ = {
"_editor_description_": ""
}
[node name="QuitButton" type="Button" parent="VBoxContainer"]
margin_top = 34.0
margin_right = 48.0
margin_bottom = 47.0
focus_neighbour_bottom = NodePath("../StartButton")
custom_styles/hover = SubResource( 1 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 3 )
custom_styles/normal = SubResource( 4 )
custom_fonts/font = ExtResource( 1 )
text = "Quit"
__meta__ = {
"_editor_description_": ""
}
[node name="RichTextLabel" type="RichTextLabel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 16.0
margin_right = -128.0
margin_bottom = -65.0
rect_scale = Vector2( 2, 2 )
custom_fonts/bold_font = ExtResource( 1 )
custom_fonts/normal_font = ExtResource( 1 )
bbcode_enabled = true
bbcode_text = "[right]Meta[color=red][b]SIZE[/b][/color][/right] "
text = "MetaSIZE "
fit_content_height = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -183.348
margin_top = -66.128
margin_right = -122.348
margin_bottom = -46.128
rect_scale = Vector2( 3, 3 )
size_flags_horizontal = 0
size_flags_vertical = 0
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="Small" type="TextureRect" parent="HBoxContainer"]
margin_right = 16.0
margin_bottom = 20.0
texture = ExtResource( 5 )
stretch_mode = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Medium" type="TextureRect" parent="HBoxContainer"]
margin_left = 20.0
margin_right = 36.0
margin_bottom = 20.0
texture = ExtResource( 3 )
stretch_mode = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Large" type="TextureRect" parent="HBoxContainer"]
margin_left = 40.0
margin_right = 56.0
margin_bottom = 20.0
texture = ExtResource( 4 )
stretch_mode = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BackgroundMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
volume_db = -9.0
autoplay = true
[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="VBoxContainer/CreditsButton" to="." method="_on_CreditsButton_pressed"]
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]