Files
SWGalaga/Scenes/enemy_spawner.tscn

30 lines
935 B
Plaintext
Raw Normal View History

2024-06-03 05:29:11 -04:00
[gd_scene load_steps=2 format=3 uid="uid://cksss7drlqdum"]
[ext_resource type="Script" path="res://Scripts/enemy_spawner.gd" id="1_urjlx"]
[node name="EnemySpawner" type="Node2D"]
script = ExtResource("1_urjlx")
[node name="SpawnPositions" type="Node2D" parent="."]
[node name="SpawnPosition_01" type="Marker2D" parent="SpawnPositions"]
position = Vector2(70, 0)
[node name="SpawnPosition_02" type="Marker2D" parent="SpawnPositions"]
position = Vector2(170, 0)
[node name="SpawnPosition_03" type="Marker2D" parent="SpawnPositions"]
position = Vector2(270, 0)
[node name="SpawnPosition_04" type="Marker2D" parent="SpawnPositions"]
position = Vector2(370, 0)
[node name="SpawnPosition_05" type="Marker2D" parent="SpawnPositions"]
position = Vector2(470, 0)
[node name="SpawnTimer" type="Timer" parent="."]
wait_time = 2.0
autostart = true
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]