-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.tscn
73 lines (49 loc) · 1.96 KB
/
Main.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://Mob.tscn" type="PackedScene" id=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=3]
[ext_resource path="res://HUD.tscn" type="PackedScene" id=4]
[sub_resource type="Curve2D" id=1]
bake_interval = 5.0
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, 2.14642, 0.889008, 0, 0, 0, 0, 476.958, 1.64268, 0, 0, 0, 0, 482.234, 725.166, 0, 0, 0, 0, 0.639069, 725.166, 0, 0, 0, 0, 2.90009, 0.135338, 0, 0, 0, 0, 2.14642, 0.889008 )
}
[node name="Main" type="Node" index="0"]
script = ExtResource( 1 )
Mob = ExtResource( 2 )
[node name="Player" parent="." index="0" instance=ExtResource( 3 )]
[node name="MobTimer" type="Timer" parent="." index="1"]
process_mode = 1
wait_time = 0.5
one_shot = false
autostart = false
[node name="ScoreTimer" type="Timer" parent="." index="2"]
process_mode = 1
wait_time = 1.0
one_shot = false
autostart = false
[node name="StartTimer" type="Timer" parent="." index="3"]
process_mode = 1
wait_time = 2.0
one_shot = false
autostart = false
[node name="StartPosition" type="Position2D" parent="." index="4"]
[node name="MobPath" type="Path2D" parent="." index="5"]
self_modulate = Color( 0.5, 0.6, 1, 0.7 )
curve = SubResource( 1 )
_sections_unfolded = [ "Material", "Visibility" ]
[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath" index="0"]
position = Vector2( 2.14642, 0.889008 )
rotation = 0.00158728
offset = 0.0
h_offset = 0.0
v_offset = 0.0
rotate = true
cubic_interp = true
loop = true
lookahead = 4.0
[node name="HUD" parent="." index="6" instance=ExtResource( 4 )]
[connection signal="timeout" from="MobTimer" to="." method="_on_MobTimer_timeout"]
[connection signal="timeout" from="ScoreTimer" to="." method="_on_ScoreTimer_timeout"]
[connection signal="timeout" from="StartTimer" to="." method="_on_StartTimer_timeout"]
[connection signal="start_game" from="HUD" to="." method="_on_HUD_start_game"]