-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainMenu.tscn
183 lines (160 loc) · 5.17 KB
/
MainMenu.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
[gd_scene load_steps=17 format=2]
[ext_resource path="res://Art/hex.png" type="Texture" id=1]
[ext_resource path="res://Font/URW Impact W01 Bold Condensed.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://MainMenu.gd" type="Script" id=3]
[ext_resource path="res://Art/diff1_btn.png" type="Texture" id=4]
[ext_resource path="res://Art/size3_btn.png" type="Texture" id=5]
[ext_resource path="res://Art/restart_btn.png" type="Texture" id=6]
[ext_resource path="res://Art/tutorial_btn.png" type="Texture" id=7]
[ext_resource path="res://Art/quit_btn.png" type="Texture" id=8]
[ext_resource path="res://Art/play_btn.png" type="Texture" id=9]
[ext_resource path="res://Art/tut_bilde1.PNG" type="Texture" id=10]
[ext_resource path="res://Art/cancel_btn.png" type="Texture" id=11]
[ext_resource path="res://Art/next_btn.png" type="Texture" id=12]
[ext_resource path="res://Art/tut_screen.png" type="Texture" id=13]
[sub_resource type="DynamicFont" id=2]
size = 120
outline_color = Color( 0.639216, 0.360784, 0.360784, 1 )
font_data = ExtResource( 2 )
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 1 ) ],
"loop": true,
"name": "default",
"speed": 1.0
} ]
[sub_resource type="DynamicFont" id=3]
size = 40
font_data = ExtResource( 2 )
[node name="MainMenu" type="Node2D"]
script = ExtResource( 3 )
[node name="CenterContainer" type="CenterContainer" parent="."]
margin_right = 1278.0
margin_bottom = 745.0
rect_scale = Vector2( 0.8, 0.8 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
margin_left = 383.0
margin_top = 27.0
margin_right = 895.0
margin_bottom = 718.0
custom_constants/separation = 10
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer"]
margin_right = 512.0
margin_bottom = 139.0
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0.690196, 0.690196, 0.690196, 1 )
custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
text = "HexWay"
align = 1
[node name="PlayButton" type="TextureButton" parent="CenterContainer/VBoxContainer"]
margin_top = 149.0
margin_right = 512.0
margin_bottom = 277.0
texture_normal = ExtResource( 9 )
[node name="DifficultyButton" type="TextureButton" parent="CenterContainer/VBoxContainer"]
margin_top = 287.0
margin_right = 512.0
margin_bottom = 415.0
texture_normal = ExtResource( 4 )
[node name="SizeButton" type="TextureButton" parent="CenterContainer/VBoxContainer"]
margin_top = 425.0
margin_right = 512.0
margin_bottom = 553.0
texture_normal = ExtResource( 5 )
[node name="QuitButton" type="TextureButton" parent="CenterContainer/VBoxContainer"]
visible = false
margin_top = 563.0
margin_right = 512.0
margin_bottom = 691.0
texture_normal = ExtResource( 8 )
[node name="TutorialButton" type="TextureButton" parent="CenterContainer/VBoxContainer"]
margin_top = 563.0
margin_right = 512.0
margin_bottom = 691.0
texture_normal = ExtResource( 7 )
[node name="BackHexSprite" type="AnimatedSprite" parent="."]
position = Vector2( 314.336, 84.7228 )
rotation = -0.495866
scale = Vector2( 0.1, 0.1 )
frames = SubResource( 1 )
[node name="BackHexSprite2" type="AnimatedSprite" parent="."]
position = Vector2( 714.847, 81.6671 )
rotation = -0.680944
scale = Vector2( 0.1, 0.1 )
frames = SubResource( 1 )
[node name="GameBtnContainer" type="VBoxContainer" parent="."]
visible = false
margin_left = 17.0
margin_top = 476.361
margin_right = 529.0
margin_bottom = 742.361
rect_scale = Vector2( 0.4, 0.4 )
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RestartButton" type="TextureButton" parent="GameBtnContainer"]
margin_right = 512.0
margin_bottom = 128.0
texture_normal = ExtResource( 6 )
[node name="QuitButton" type="TextureButton" parent="GameBtnContainer"]
margin_top = 138.0
margin_right = 512.0
margin_bottom = 266.0
texture_normal = ExtResource( 8 )
[node name="Tutorial" type="TextureRect" parent="."]
visible = false
margin_left = 365.0
margin_top = 45.0
margin_right = 965.0
margin_bottom = 1069.0
rect_scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 13 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NextButton" type="TextureButton" parent="Tutorial"]
margin_left = 150.0
margin_top = 800.0
margin_right = 662.0
margin_bottom = 928.0
rect_scale = Vector2( 0.6, 0.6 )
texture_normal = ExtResource( 12 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CancelButton" type="TextureButton" parent="Tutorial"]
margin_left = 150.0
margin_top = 900.0
margin_right = 662.0
margin_bottom = 1028.0
rect_scale = Vector2( 0.6, 0.6 )
texture_normal = ExtResource( 11 )
[node name="TutPic" type="TextureRect" parent="Tutorial"]
margin_left = 83.3324
margin_top = 78.8102
margin_right = 803.332
margin_bottom = 528.81
rect_scale = Vector2( 0.6, 0.6 )
texture = ExtResource( 10 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Tutorial_Label" type="Label" parent="Tutorial"]
margin_left = 61.2999
margin_top = 386.4
margin_right = 534.3
margin_bottom = 743.4
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 0.466667, 0.466667, 0.466667, 1 )
text = "Test text"
align = 1
valign = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}