-
-
Notifications
You must be signed in to change notification settings - Fork 207
/
Copy pathmenu.tscn
664 lines (575 loc) · 19.1 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
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
[gd_scene load_steps=42 format=2]
[ext_resource path="res://menu/menu.gd" type="Script" id=1]
[ext_resource path="res://menu/experiment.hdr" type="Texture" id=2]
[ext_resource path="res://player/model/player.glb" type="PackedScene" id=3]
[ext_resource path="res://menu/floor.png" type="Texture" id=4]
[ext_resource path="res://menu/menu_intro_music.ogg" type="AudioStream" id=5]
[ext_resource path="res://menu/tps_demo.png" type="Texture" id=6]
[ext_resource path="res://menu/button_play.png" type="Texture" id=7]
[ext_resource path="res://menu/button_play_hover.png" type="Texture" id=8]
[ext_resource path="res://menu/button_settings.png" type="Texture" id=9]
[ext_resource path="res://menu/button_settings_hover.png" type="Texture" id=10]
[ext_resource path="res://menu/button_quit.png" type="Texture" id=11]
[ext_resource path="res://menu/button_quit_hover.png" type="Texture" id=12]
[ext_resource path="res://menu/button_font.tres" type="DynamicFont" id=13]
[ext_resource path="res://menu/button_pressed.tres" type="StyleBox" id=14]
[ext_resource path="res://menu/button_normal.tres" type="StyleBox" id=15]
[ext_resource path="res://menu/button_focus.tres" type="StyleBox" id=16]
[ext_resource path="res://menu/button_hover.tres" type="StyleBox" id=17]
[ext_resource path="res://menu/button_action_pressed.tres" type="StyleBox" id=18]
[ext_resource path="res://enemies/red_robot/red_robot.tscn" type="PackedScene" id=19]
[ext_resource path="res://player/bullet/bullet.tscn" type="PackedScene" id=20]
[sub_resource type="PanoramaSky" id=1]
panorama = ExtResource( 2 )
[sub_resource type="Environment" id=2]
background_mode = 3
background_sky = SubResource( 1 )
glow_enabled = true
glow_levels/7 = true
glow_intensity = 0.4
glow_blend_mode = 1
glow_hdr_threshold = 0.34
glow_bicubic_upscale = true
[sub_resource type="QuadMesh" id=3]
size = Vector2( 15, 15 )
[sub_resource type="SpatialMaterial" id=4]
albedo_texture = ExtResource( 4 )
metallic = 0.78
[sub_resource type="AnimationNodeBlend2" id=5]
resource_local_to_scene = true
filter_enabled = true
filters = [ "Robot_Skeleton/Skeleton:eyelid.d.L", "Robot_Skeleton/Skeleton:eyelid.d.R", "Robot_Skeleton/Skeleton:eyelid.u.L", "Robot_Skeleton/Skeleton:eyelid.u.R", "Robot_Skeleton/Skeleton:eyes" ]
[sub_resource type="AnimationNodeAnimation" id=6]
resource_local_to_scene = true
animation = "Idlecombatrest-cycle"
[sub_resource type="AnimationNodeAnimation" id=7]
resource_local_to_scene = true
animation = "eyes-cycle"
[sub_resource type="AnimationNodeBlendTree" id=8]
resource_local_to_scene = true
graph_offset = Vector2( -260.487, 63.5 )
nodes/Blend/node = SubResource( 5 )
nodes/Blend/position = Vector2( 180, 120 )
nodes/CombatRest/node = SubResource( 6 )
nodes/CombatRest/position = Vector2( -120, 100 )
nodes/Eyes/node = SubResource( 7 )
nodes/Eyes/position = Vector2( -40, 220 )
nodes/output/position = Vector2( 420, 120 )
node_connections = [ "output", 0, "Blend", "Blend", 0, "CombatRest", "Blend", 1, "Eyes" ]
[sub_resource type="Theme" id=9]
Button/colors/font_color = Color( 1, 1, 1, 1 )
Button/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
Button/colors/font_color_hover = Color( 1, 1, 1, 1 )
Button/colors/font_color_pressed = Color( 1, 1, 1, 1 )
Button/constants/hseparation = 2
Button/fonts/font = ExtResource( 13 )
Button/styles/disabled = null
Button/styles/focus = ExtResource( 16 )
Button/styles/hover = ExtResource( 17 )
Button/styles/normal = ExtResource( 15 )
Button/styles/pressed = ExtResource( 14 )
Label/colors/font_color = Color( 1, 1, 1, 1 )
Label/colors/font_color_shadow = Color( 0, 0, 0, 0 )
Label/colors/font_outline_modulate = Color( 1, 1, 1, 1 )
Label/constants/line_spacing = 3
Label/constants/shadow_as_outline = 0
Label/constants/shadow_offset_x = 1
Label/constants/shadow_offset_y = 1
Label/fonts/font = ExtResource( 13 )
Label/styles/normal = null
[sub_resource type="ButtonGroup" id=10]
[sub_resource type="ButtonGroup" id=11]
[sub_resource type="ButtonGroup" id=12]
[sub_resource type="ButtonGroup" id=13]
[sub_resource type="ButtonGroup" id=14]
[sub_resource type="ButtonGroup" id=15]
[sub_resource type="DynamicFontData" id=16]
font_path = "res://menu/font/PT_Sans-Web-Bold.ttf"
[sub_resource type="DynamicFont" id=17]
size = 40
font_data = SubResource( 16 )
[sub_resource type="StyleBoxFlat" id=18]
bg_color = Color( 0.278431, 0.278431, 0.360784, 1 )
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
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
[sub_resource type="StyleBoxFlat" id=19]
bg_color = Color( 0.0901961, 0.0784314, 0.117647, 1 )
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 3
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
[sub_resource type="BoxShape" id=20]
extents = Vector3( 2, 1, 2 )
[sub_resource type="BoxShape" id=21]
extents = Vector3( 5, 5, 1 )
[node name="Menu" type="Node"]
script = ExtResource( 1 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="PlayerModel" parent="." instance=ExtResource( 3 )]
[node name="Robot_Skeleton" parent="PlayerModel" index="0"]
transform = Transform( 0.803991, 0, 0, 0, 0.803991, 0, 0, 0, 0.803991, 0, 0, 0 )
[node name="SoundEffects" type="Node" parent="."]
__meta__ = {
"_editor_description_": "There must be an AudioStreamPlayer node at the path \"SoundEffects/Step\" next to the player model, anywhere that the player model is instanced. This is to prevent the animation from deleting the step from the track."
}
[node name="Step" type="AudioStreamPlayer" parent="SoundEffects"]
__meta__ = {
"_editor_description_": "There must be an AudioStreamPlayer node at the path \"SoundEffects/Step\" next to the player model, anywhere that the player model is instanced. This is to prevent the animation from deleting the step from the track."
}
[node name="Floor" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0 )
mesh = SubResource( 3 )
material/0 = SubResource( 4 )
[node name="SpotLight" type="SpotLight" parent="."]
transform = Transform( 0.967027, 0, 0.254675, -0.225291, 0.466312, 0.855452, -0.118758, -0.88462, 0.450936, 0.557445, 2.31204, 0.556668 )
shadow_enabled = true
shadow_bias = 0.01
[node name="Camera" type="Camera" parent="."]
transform = Transform( 0.871624, -0.0363083, 0.488828, 0, 0.997253, 0.0740721, -0.490175, -0.064563, 0.86923, 0.0702285, 1.22404, 2.09675 )
[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
autoplay = true
[node name="AnimationTree" type="AnimationTree" parent="."]
tree_root = SubResource( 8 )
anim_player = NodePath("../PlayerModel/AnimationPlayer")
active = true
parameters/Blend/blend_amount = 1.0
[node name="TextureRect" type="TextureRect" parent="."]
margin_left = 20.1403
margin_top = 5.03506
margin_right = 1044.14
margin_bottom = 238.035
texture = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="UI" type="Control" parent="."]
anchor_left = 0.00106799
anchor_right = 1.00107
anchor_bottom = 1.0
theme = SubResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Main" type="Control" parent="UI"]
anchor_left = -0.000673103
anchor_top = -0.00189865
anchor_right = 0.999327
anchor_bottom = 0.998101
margin_left = -4.10107
margin_top = 2.05054
margin_right = -4.10107
margin_bottom = 2.05054
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Play" type="TextureButton" parent="UI/Main"]
margin_left = 100.0
margin_top = 390.0
margin_right = 400.0
margin_bottom = 440.0
texture_normal = ExtResource( 7 )
texture_pressed = ExtResource( 7 )
texture_hover = ExtResource( 8 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Settings" type="TextureButton" parent="UI/Main"]
margin_left = 100.0
margin_top = 490.0
margin_right = 400.0
margin_bottom = 540.0
texture_normal = ExtResource( 9 )
texture_pressed = ExtResource( 9 )
texture_hover = ExtResource( 10 )
[node name="Quit" type="TextureButton" parent="UI/Main"]
margin_left = 100.0
margin_top = 590.0
margin_right = 400.0
margin_bottom = 640.0
texture_normal = ExtResource( 11 )
texture_pressed = ExtResource( 11 )
texture_hover = ExtResource( 12 )
[node name="Settings" type="VBoxContainer" parent="UI"]
visible = false
anchor_left = 0.109896
anchor_top = 0.32037
anchor_right = 0.808854
anchor_bottom = 0.785185
custom_constants/separation = 30
__meta__ = {
"_edit_use_anchors_": true
}
[node name="GI" type="HBoxContainer" parent="UI/Settings"]
margin_right = 1342.0
margin_bottom = 57.0
custom_constants/separation = 30
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="UI/Settings/GI"]
margin_top = 2.0
margin_right = 400.0
margin_bottom = 55.0
rect_min_size = Vector2( 400, 0 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "Global Illumination:"
[node name="High" type="Button" parent="UI/Settings/GI"]
margin_left = 430.0
margin_right = 714.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
pressed = true
group = SubResource( 10 )
text = "High"
[node name="Low" type="Button" parent="UI/Settings/GI"]
margin_left = 744.0
margin_right = 1028.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 10 )
text = "Low"
[node name="Disabled" type="Button" parent="UI/Settings/GI"]
margin_left = 1058.0
margin_right = 1342.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 10 )
text = "Disabled"
[node name="AA" type="HBoxContainer" parent="UI/Settings"]
margin_top = 87.0
margin_right = 1342.0
margin_bottom = 144.0
custom_constants/separation = 30
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="UI/Settings/AA"]
margin_right = 400.0
margin_bottom = 57.0
rect_min_size = Vector2( 400, 0 )
size_flags_vertical = 1
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "Anti Aliasing:"
[node name="8X" type="Button" parent="UI/Settings/AA"]
margin_left = 430.0
margin_right = 635.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
pressed = true
group = SubResource( 11 )
text = "8x"
[node name="4X" type="Button" parent="UI/Settings/AA"]
margin_left = 665.0
margin_right = 870.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 11 )
text = "4x"
[node name="2X" type="Button" parent="UI/Settings/AA"]
margin_left = 900.0
margin_right = 1105.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 11 )
text = "2x"
[node name="Disabled" type="Button" parent="UI/Settings/AA"]
margin_left = 1135.0
margin_right = 1342.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 11 )
text = "Disabled"
[node name="SSAO" type="HBoxContainer" parent="UI/Settings"]
margin_top = 174.0
margin_right = 1342.0
margin_bottom = 231.0
custom_constants/separation = 30
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="UI/Settings/SSAO"]
margin_right = 400.0
margin_bottom = 57.0
rect_min_size = Vector2( 400, 0 )
size_flags_vertical = 1
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "SSAO:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="High" type="Button" parent="UI/Settings/SSAO"]
margin_left = 430.0
margin_right = 714.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
pressed = true
group = SubResource( 12 )
text = "High"
[node name="Low" type="Button" parent="UI/Settings/SSAO"]
margin_left = 744.0
margin_right = 1028.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 12 )
text = "Low"
[node name="Disabled" type="Button" parent="UI/Settings/SSAO"]
margin_left = 1058.0
margin_right = 1342.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 12 )
text = "Disabled"
[node name="Bloom" type="HBoxContainer" parent="UI/Settings"]
margin_top = 174.0
margin_right = 1342.0
margin_bottom = 231.0
custom_constants/separation = 30
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="UI/Settings/Bloom"]
margin_right = 400.0
margin_bottom = 57.0
rect_min_size = Vector2( 400, 0 )
size_flags_vertical = 1
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "Bloom:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="High" type="Button" parent="UI/Settings/Bloom"]
margin_left = 430.0
margin_right = 714.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
pressed = true
group = SubResource( 13 )
text = "High"
[node name="Low" type="Button" parent="UI/Settings/Bloom"]
margin_left = 744.0
margin_right = 1028.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 13 )
text = "Low"
[node name="Disabled" type="Button" parent="UI/Settings/Bloom"]
margin_left = 1058.0
margin_right = 1342.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 13 )
text = "Disabled"
[node name="Resolution" type="HBoxContainer" parent="UI/Settings"]
margin_top = 261.0
margin_right = 1342.0
margin_bottom = 318.0
custom_constants/separation = 30
__meta__ = {
"_edit_group_": true
}
[node name="Label" type="Label" parent="UI/Settings/Resolution"]
margin_top = 2.0
margin_right = 400.0
margin_bottom = 55.0
rect_min_size = Vector2( 400, 0 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "Resolution:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Native" type="Button" parent="UI/Settings/Resolution"]
margin_left = 430.0
margin_right = 635.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
pressed = true
group = SubResource( 14 )
text = "Native"
[node name="1080" type="Button" parent="UI/Settings/Resolution"]
margin_left = 665.0
margin_right = 870.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 14 )
text = "1080"
[node name="720" type="Button" parent="UI/Settings/Resolution"]
margin_left = 900.0
margin_right = 1105.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 14 )
text = "720"
[node name="540" type="Button" parent="UI/Settings/Resolution"]
margin_left = 1135.0
margin_right = 1342.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 14 )
text = "540"
[node name="Fullscreen" type="HBoxContainer" parent="UI/Settings"]
margin_top = 348.0
margin_right = 1342.0
margin_bottom = 405.0
custom_constants/separation = 30
[node name="Label" type="Label" parent="UI/Settings/Fullscreen"]
margin_top = 2.0
margin_right = 400.0
margin_bottom = 55.0
rect_min_size = Vector2( 400, 0 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "Fullscreen"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Yes" type="Button" parent="UI/Settings/Fullscreen"]
margin_left = 430.0
margin_right = 871.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
pressed = true
group = SubResource( 15 )
text = "Yes"
[node name="No" type="Button" parent="UI/Settings/Fullscreen"]
margin_left = 901.0
margin_right = 1342.0
margin_bottom = 57.0
size_flags_horizontal = 3
toggle_mode = true
group = SubResource( 15 )
text = "No"
[node name="HSeparator" type="HSeparator" parent="UI/Settings"]
modulate = Color( 1, 1, 1, 0 )
margin_top = 435.0
margin_right = 1342.0
margin_bottom = 455.0
rect_min_size = Vector2( 0, 20 )
[node name="Actions" type="HBoxContainer" parent="UI/Settings"]
margin_top = 485.0
margin_right = 1342.0
margin_bottom = 542.0
custom_constants/separation = 50
[node name="Apply" type="Button" parent="UI/Settings/Actions"]
margin_right = 646.0
margin_bottom = 57.0
size_flags_horizontal = 3
custom_styles/hover = ExtResource( 18 )
custom_styles/pressed = ExtResource( 18 )
custom_fonts/font = SubResource( 17 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 1, 1, 1, 1 )
custom_colors/font_color_pressed = Color( 1, 1, 1, 1 )
text = "Apply"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Cancel" type="Button" parent="UI/Settings/Actions"]
margin_left = 696.0
margin_right = 1342.0
margin_bottom = 57.0
size_flags_horizontal = 3
custom_styles/hover = ExtResource( 18 )
custom_styles/pressed = ExtResource( 18 )
custom_fonts/font = SubResource( 17 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 1, 1, 1, 1 )
custom_colors/font_color_pressed = Color( 1, 1, 1, 1 )
text = "Cancel"
[node name="Loading" type="HBoxContainer" parent="UI"]
visible = false
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 100.0
margin_top = -135.0
margin_right = -130.0
margin_bottom = -100.0
custom_constants/separation = 100
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="UI/Loading"]
margin_right = 168.0
margin_bottom = 53.0
custom_fonts/font = ExtResource( 13 )
text = "Loading..."
[node name="Progress" type="ProgressBar" parent="UI/Loading"]
margin_left = 268.0
margin_right = 1690.0
margin_bottom = 53.0
size_flags_horizontal = 3
size_flags_vertical = 1
custom_styles/fg = SubResource( 18 )
custom_styles/bg = SubResource( 19 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DoneTimer" type="Timer" parent="UI/Loading"]
wait_time = 0.5
one_shot = true
[node name="BackgroundCache" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -15, -10, -10 )
__meta__ = {
"_editor_description_": "This section forces Godot to cache the models/materials/shaders by creating them on the menu. Everything is out of sight because it is behind the floor, but it's within the camera's view frustum."
}
[node name="RedRobot" parent="BackgroundCache" instance=ExtResource( 19 )]
health = 1
test_shoot = true
[node name="Floor" type="StaticBody" parent="BackgroundCache"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
collision_layer = 2147483651
collision_mask = 3
[node name="CollisionShape" type="CollisionShape" parent="BackgroundCache/Floor"]
shape = SubResource( 20 )
[node name="Target" type="StaticBody" parent="BackgroundCache"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 3 )
collision_layer = 2147483650
collision_mask = 2147483650
[node name="CollisionShape" type="CollisionShape" parent="BackgroundCache/Target"]
shape = SubResource( 21 )
[node name="Bullet" parent="BackgroundCache" instance=ExtResource( 20 )]
transform = Transform( -1, 8.4334e-08, 3.14739e-07, 0, 0.965926, -0.258819, -3.25841e-07, -0.258819, -0.965926, 0, -20, -80 )
[node name="ExplosionAudio" parent="BackgroundCache/Bullet" index="4"]
unit_db = -80.0
[connection signal="pressed" from="UI/Main/Play" to="." method="_on_play_pressed"]
[connection signal="pressed" from="UI/Main/Settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="UI/Main/Quit" to="." method="_on_quit_pressed"]
[connection signal="pressed" from="UI/Settings/Actions/Apply" to="." method="_on_apply_pressed"]
[connection signal="pressed" from="UI/Settings/Actions/Cancel" to="." method="_on_cancel_pressed"]
[connection signal="timeout" from="UI/Loading/DoneTimer" to="." method="_on_loading_done_timer_timeout"]
[editable path="PlayerModel"]
[editable path="BackgroundCache/Bullet"]