39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://Scenes/EnemySpawner.gd" type="Script" id=1]
|
|
|
|
|
|
[node name="EnemySpawner" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="SpawnPoints" type="Node2D" parent="."]
|
|
|
|
[node name="Position2D" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 20 )
|
|
|
|
[node name="Position2D2" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 40 )
|
|
|
|
[node name="Position2D3" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 60 )
|
|
|
|
[node name="Position2D4" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 80 )
|
|
|
|
[node name="Position2D5" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 100 )
|
|
|
|
[node name="Position2D6" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 120 )
|
|
|
|
[node name="Position2D7" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 140 )
|
|
|
|
[node name="Position2D8" type="Position2D" parent="SpawnPoints"]
|
|
position = Vector2( 0, 160 )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 2.0
|
|
autostart = true
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|