-
Notifications
You must be signed in to change notification settings - Fork 2
/
StartMenu.tscn
232 lines (206 loc) · 8.82 KB
/
StartMenu.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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
[gd_scene load_steps=13 format=2]
[ext_resource path="res://StartMenu.gd" type="Script" id=1]
[ext_resource path="res://assets/art/space1.png" type="Texture" id=2]
[ext_resource path="res://assets/art/space2.png" type="Texture" id=3]
[ext_resource path="res://assets/art/light.png" type="Texture" id=4]
[ext_resource path="res://assets/art/mars.png" type="Texture" id=5]
[ext_resource path="res://assets/fonts/Link.tres" type="DynamicFont" id=6]
[ext_resource path="res://assets/fonts/Title.tres" type="DynamicFont" id=7]
[ext_resource path="res://assets/art/player_atlas.png" type="Texture" id=8]
[ext_resource path="res://assets/art/station-small.png" type="Texture" id=9]
[sub_resource type="TileSet" id=1]
0/name = "space1.png 0"
0/texture = ExtResource( 2 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 64, 64 )
0/tile_mode = 0
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shapes = [ ]
0/z_index = 0
1/name = "space2.png 1"
1/texture = ExtResource( 3 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 0, 0, 64, 64 )
1/tile_mode = 0
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shapes = [ ]
1/z_index = 0
[sub_resource type="Animation" id=2]
resource_name = "start_game"
length = 13.0
tracks/0/type = "value"
tracks/0/path = NodePath("Light2D2:energy")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 2, 2.1, 3.1, 3.7, 3.8, 4.3, 4.4, 4.5, 5.5, 9.99194 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ 0.01, 5.0, 0.01, 0.01, 5.0, 3.0, 0.01, 5.0, 0.01, 1.0 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("MainMenu:rect_position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( -0.1, 0, 1 ),
"transitions": PoolRealArray( 1, 1, 3.03143 ),
"update": 0,
"values": [ Vector2( 58, 0 ), Vector2( 58, 0 ), Vector2( -600, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("RichTextLabel:visible_characters")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = false
tracks/2/keys = {
"times": PoolRealArray( ),
"transitions": PoolRealArray( ),
"update": 1,
"values": [ ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("RichTextLabel:percent_visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 6.9, 10.8 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 1.0 ]
}
[sub_resource type="Animation" id=3]
resource_name = "player_anim"
length = 4.4
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.2, 2.4, 2.6, 2.8, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.2 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 17, 12, 13, 15, 14, 15, 13, 12 ]
}
[node name="Level" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="TileMap" type="TileMap" parent="."]
tile_set = SubResource( 1 )
format = 1
tile_data = PoolIntArray( 0, 0, 0, 1, 1, 0, 2, 1, 0, 3, 0, 0, 4, 0, 0, 5, 1, 0, 6, 1, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 1, 0, 12, 1, 0, 13, 1, 0, 14, 0, 0, 15, 0, 0, 65536, 0, 0, 65537, 1, 0, 65538, 1, 0, 65539, 0, 0, 65540, 0, 0, 65541, 0, 0, 65542, 0, 0, 65543, 0, 0, 65544, 0, 0, 65545, 0, 0, 65546, 0, 0, 65547, 0, 0, 65548, 0, 0, 65549, 1, 0, 65550, 0, 0, 65551, 0, 0, 131072, 0, 0, 131073, 0, 0, 131074, 0, 0, 131075, 0, 0, 131076, 0, 0, 131077, 1, 0, 131078, 0, 0, 131079, 0, 0, 131080, 1, 0, 131081, 1, 0, 131082, 0, 0, 131083, 1610612737, 0, 131084, 0, 0, 131085, 0, 0, 131086, 0, 0, 131087, 0, 0, 196608, 1, 0, 196609, 0, 0, 196610, 1, 0, 196611, 1, 0, 196612, 1, 0, 196613, 0, 0, 196614, 0, 0, 196615, 1, 0, 196616, 0, 0, 196617, 1, 0, 196618, 0, 0, 196619, 0, 0, 196620, 1, 0, 196621, 0, 0, 196622, 0, 0, 196623, 1, 0, 262144, 1, 0, 262145, 0, 0, 262146, 0, 0, 262147, 0, 0, 262148, 0, 0, 262149, 0, 0, 262150, 1, 0, 262151, 1, 0, 262152, 0, 0, 262153, 0, 0, 262154, 1, 0, 262155, 0, 0, 262156, 0, 0, 262157, 0, 0, 262158, 0, 0, 262159, 0, 0, 327680, 1, 0, 327681, 1, 0, 327682, 1, 0, 327683, 0, 0, 327684, 0, 0, 327685, 1, 0, 327686, 0, 0, 327687, 0, 0, 327688, 0, 0, 327689, 0, 0, 327690, 0, 0, 327691, 0, 0, 327692, 0, 0, 327693, 0, 0, 327694, 0, 0, 327695, 0, 0, 393216, 1, 0, 393217, 1, 0, 393218, 0, 0, 393219, 0, 0, 393220, 0, 0, 393221, 0, 0, 393222, 0, 0, 393223, 1, 0, 393224, 0, 0, 393225, 1610612737, 0, 393226, 1, 0, 393227, 1610612737, 0, 393228, 0, 0, 393229, 0, 0, 393230, 0, 0, 393231, 1, 0, 458752, 0, 0, 458753, 0, 0, 458754, 1, 0, 458755, 0, 0, 458756, 1, 0, 458757, 0, 0, 458758, 1, 0, 458759, 0, 0, 458760, 1, 0, 458761, 0, 0, 458762, 0, 0, 458763, 1, 0, 458764, 1, 0, 458765, 0, 0, 458766, 0, 0, 458767, 1, 0, 524288, 0, 0, 524289, 1, 0, 524290, 1, 0, 524291, 1, 0, 524292, 0, 0, 524293, 0, 0, 524294, 1, 0, 524295, 0, 0, 524296, 0, 0, 524297, 1, 0, 524298, 1, 0, 524299, 1, 0, 524300, 1, 0, 524301, 1, 0, 524302, 1, 0, 524303, 1, 0, 589824, 1, 0, 589825, 0, 0, 589826, 0, 0, 589827, 0, 0, 589828, 0, 0, 589829, 1, 0, 589830, 1, 0, 589831, 1, 0, 589832, 1, 0, 589833, 1, 0, 589834, 1, 0, 589835, 1, 0, 589836, 1, 0, 589837, 1, 0, 589838, 1, 0, 589839, 1, 0 )
[node name="Light2D" type="Light2D" parent="."]
position = Vector2( 834.25, 294.178 )
texture = ExtResource( 4 )
color = Color( 0.882353, 0.729412, 0.568627, 1 )
[node name="mars" type="Sprite" parent="."]
position = Vector2( 878.198, 306.485 )
texture = ExtResource( 5 )
[node name="InitialScene" type="AnimationPlayer" parent="."]
anims/start_game = SubResource( 2 )
[node name="RichTextLabel" type="RichTextLabel" parent="."]
margin_left = 63.1195
margin_top = 170.621
margin_right = 461.12
margin_bottom = 437.621
custom_fonts/normal_font = ExtResource( 6 )
visible_characters = 0
percent_visible = 0.00236499
text = "Evacuate! Evacuate!
This is not a Drill.
Fire in Section A, B, C, D, E, F, and G.
Proceed to evacuation pods immediately!"
[node name="MainMenu" type="VBoxContainer" parent="."]
editor/display_folded = true
margin_left = 58.0
margin_right = 562.0
margin_bottom = 600.0
size_flags_horizontal = 0
alignment = 1
[node name="Title" type="Label" parent="MainMenu"]
margin_top = 220.0
margin_right = 504.0
margin_bottom = 320.0
rect_min_size = Vector2( 0, 100 )
custom_fonts/font = ExtResource( 7 )
text = "Beyond Reach"
[node name="StartButton" type="LinkButton" parent="MainMenu"]
margin_top = 324.0
margin_right = 504.0
margin_bottom = 350.0
custom_fonts/font = ExtResource( 6 )
text = "Start Game"
underline = 1
[node name="Credit" type="LinkButton" parent="MainMenu"]
margin_top = 354.0
margin_right = 504.0
margin_bottom = 380.0
custom_fonts/font = ExtResource( 6 )
text = "Credits"
underline = 1
[node name="CreditMenu" type="VBoxContainer" parent="."]
visible = false
margin_left = 58.0
margin_right = 562.0
margin_bottom = 600.0
size_flags_horizontal = 0
alignment = 1
[node name="Sprite" type="Sprite" parent="CreditMenu"]
position = Vector2( 252.008, 109.866 )
scale = Vector2( 3, 3 )
texture = ExtResource( 8 )
vframes = 10
hframes = 2
frame = 2
[node name="Title" type="Label" parent="CreditMenu"]
margin_top = 176.0
margin_right = 539.0
margin_bottom = 276.0
rect_min_size = Vector2( 0, 100 )
custom_fonts/font = ExtResource( 7 )
text = "Beyond Reach"
[node name="Credits" type="Label" parent="CreditMenu"]
margin_top = 280.0
margin_right = 539.0
margin_bottom = 393.0
custom_fonts/font = ExtResource( 6 )
text = "A game designed by Gareth Ellis,
Mathew MacDougall and QUentin Golsteyn.
We're Tired now."
[node name="Back" type="LinkButton" parent="CreditMenu"]
margin_top = 397.0
margin_right = 539.0
margin_bottom = 423.0
custom_fonts/font = ExtResource( 6 )
text = "Back"
[node name="AnimationPlayer" type="AnimationPlayer" parent="CreditMenu"]
autoplay = "player_anim"
anims/player_anim = SubResource( 3 )
[node name="StationSmall" type="Sprite" parent="."]
position = Vector2( 732.579, 381.995 )
texture = ExtResource( 9 )
[node name="Light2D2" type="Light2D" parent="."]
position = Vector2( 725.579, 374.048 )
texture = ExtResource( 4 )
texture_scale = 0.2
color = Color( 1, 0.494118, 0, 1 )
energy = 1.3637
[connection signal="animation_finished" from="InitialScene" to="." method="_on_InitialScene_animation_finished"]
[connection signal="pressed" from="MainMenu/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="MainMenu/Credit" to="." method="_on_Credit_pressed"]
[connection signal="pressed" from="CreditMenu/Back" to="." method="_on_Back_pressed"]