-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTitleScreen.tscn
246 lines (212 loc) · 6.99 KB
/
TitleScreen.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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
[gd_scene load_steps=26 format=2]
[ext_resource path="res://fonts/davida/Davida Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://boat_guy_still.png" type="Texture" id=2]
[ext_resource path="res://TitleBoat1.gd" type="Script" id=3]
[ext_resource path="res://TitleScreen.gd" type="Script" id=4]
[ext_resource path="res://boat_guy_still2.png" type="Texture" id=5]
[ext_resource path="res://TitleBoat2.gd" type="Script" id=6]
[ext_resource path="res://lifesaver/lifesaver_2.png" type="Texture" id=7]
[ext_resource path="res://lifesaver/lifesaver_4.png" type="Texture" id=8]
[ext_resource path="res://lifesaver/lifesaver_1.png" type="Texture" id=9]
[ext_resource path="res://lifesaver/lifesaver_3.png" type="Texture" id=10]
[ext_resource path="res://Player_Selection/player_selection_1.png" type="Texture" id=11]
[ext_resource path="res://Player_Selection/player_selection_3.png" type="Texture" id=12]
[ext_resource path="res://Player_Selection/player_selection_2.png" type="Texture" id=13]
[ext_resource path="res://Player_Selection/player_selection_4.png" type="Texture" id=14]
[ext_resource path="res://CampaignSelec1.png" type="Texture" id=15]
[ext_resource path="res://CampaignSelec.png" type="Texture" id=16]
[sub_resource type="DynamicFont" id=1]
size = 38
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 38
font_data = ExtResource( 1 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 5.30484, 36.8885 )
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 7.12999, 16.2136 )
[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 59.7558, 21.6101 )
[sub_resource type="SpriteFrames" id=6]
resource_local_to_scene = true
animations = [ {
"frames": [ ExtResource( 9 ), ExtResource( 7 ), ExtResource( 10 ), ExtResource( 8 ) ],
"loop": true,
"name": "default",
"speed": 4.0
} ]
[sub_resource type="SpriteFrames" id=7]
animations = [ {
"frames": [ ExtResource( 12 ), ExtResource( 14 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="SpriteFrames" id=8]
animations = [ {
"frames": [ ExtResource( 11 ), ExtResource( 13 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="SpriteFrames" id=9]
animations = [ {
"frames": [ ExtResource( 15 ), ExtResource( 16 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="TitleScreen" type="Node2D"]
script = ExtResource( 4 )
ui_left = "ui_p1_left"
ui_right = "ui_p1_right"
ui_accept = "ui_accept"
[node name="Comb_label" type="Label" parent="."]
margin_left = 88.028
margin_top = 76.211
margin_right = 187.028
margin_bottom = 120.211
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0.945098, 0.188235, 0.0823529, 1 )
text = "Comb"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="at_label" type="Label" parent="."]
margin_left = 185.102
margin_top = 76.2113
margin_right = 228.102
margin_bottom = 120.211
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0.945098, 0.188235, 0.0823529, 1 )
text = "at"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title_Area" type="Area2D" parent="."]
position = Vector2( 164.049, 95.7282 )
rotation = -1.5708
scale = Vector2( 2, 2 )
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Title_Area"]
shape = SubResource( 3 )
[node name="TitleBoat1" type="KinematicBody2D" parent="."]
position = Vector2( 179.211, 227.519 )
rotation = -1.5708
scale = Vector2( 2, 2 )
script = ExtResource( 3 )
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="TitleBoat1"]
rotation = 1.5708
shape = SubResource( 4 )
[node name="boat_guy_still" type="Sprite" parent="TitleBoat1"]
rotation = -5.56362e-08
scale = Vector2( 2, 2 )
texture = ExtResource( 2 )
[node name="TitleBoat2" type="KinematicBody2D" parent="."]
position = Vector2( 180.319, 294.188 )
rotation = -1.5708
scale = Vector2( 2, 2 )
script = ExtResource( 6 )
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="TitleBoat2"]
rotation = 1.5708
shape = SubResource( 4 )
[node name="boat_guy_still2" type="Sprite" parent="TitleBoat2"]
rotation = -5.56362e-08
scale = Vector2( 2, 2 )
texture = ExtResource( 5 )
[node name="Screen_Exit" type="Area2D" parent="."]
position = Vector2( 170.639, -80.8291 )
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Screen_Exit"]
shape = SubResource( 5 )
[node name="ShootTimer" type="Timer" parent="."]
wait_time = 0.5
[node name="Lifesaver" type="AnimatedSprite" parent="."]
visible = false
position = Vector2( 185.074, 97.8867 )
scale = Vector2( 2, 2 )
frames = SubResource( 6 )
frame = 2
playing = true
[node name="GameTimer" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
[node name="BoatSelection" type="AnimatedSprite" parent="."]
visible = false
position = Vector2( 183.44, 135 )
scale = Vector2( 2, 2 )
frames = SubResource( 7 )
[node name="TankSelection" type="AnimatedSprite" parent="."]
visible = false
position = Vector2( 136.179, 135 )
scale = Vector2( 2, 2 )
frames = SubResource( 8 )
frame = 1
[node name="CoopSelection" type="AnimatedSprite" parent="."]
visible = false
position = Vector2( 136.179, 135 )
scale = Vector2( 2, 2 )
frames = SubResource( 8 )
frame = 1
[node name="CampaignSelection" type="AnimatedSprite" parent="."]
visible = false
position = Vector2( 181.789, 133.492 )
scale = Vector2( 2.9263, 2.9263 )
frames = SubResource( 9 )
[node name="TanksOrBoats" type="Label" parent="."]
visible = false
margin_left = 76.2508
margin_top = 156.076
margin_right = 239.251
margin_bottom = 187.076
text = "Tanks Or Boats?"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Campaign" type="Label" parent="."]
visible = false
anchor_left = -5.198
anchor_top = -3.741
anchor_right = -5.198
anchor_bottom = -3.741
margin_left = 86.3696
margin_top = 156.306
margin_right = 249.37
margin_bottom = 170.306
text = "Campaign Or Local versus?"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ControlsPrompt" type="Label" parent="."]
visible = false
margin_left = 19.5288
margin_top = 24.5685
margin_right = 310.529
margin_bottom = 55.5685
text = "Hit left or right to highlight your choice.
Hit enter (keyboard) or A (controller) to select"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TransitionTimer" type="Timer" parent="."]
wait_time = 0.5
[connection signal="area_entered" from="Title_Area" to="." method="_on_Title_Area_area_entered"]
[connection signal="body_entered" from="Title_Area" to="." method="_on_Title_Area_body_entered"]
[connection signal="body_exited" from="Title_Area" to="." method="_on_Title_Area_body_exited"]
[connection signal="body_entered" from="Screen_Exit" to="TitleBoat1" method="_on_Screen_Exit_body_entered"]
[connection signal="timeout" from="ShootTimer" to="TitleBoat2" method="_on_ShootTimer_timeout"]
[connection signal="timeout" from="GameTimer" to="." method="_on_GameTimer_timeout"]
[connection signal="timeout" from="TransitionTimer" to="." method="_on_TransitionTimer_timeout"]