Initial repo
This commit is contained in:
29
Scenes/enemy_spawner.tscn
Normal file
29
Scenes/enemy_spawner.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[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"]
|
||||
Reference in New Issue
Block a user