Comets.gd/scenes/invader_spawner.tscn

15 lines
437 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://e647ck5fxo17"]
[ext_resource type="Script" path="res://scripts/invader_spawner.gd" id="1_y3j7g"]
[node name="InvaderSpawner" type="Node2D"]
script = ExtResource("1_y3j7g")
[node name="SpawnTimer" type="Timer" parent="."]
wait_time = 30.0
autostart = true
[node name="Invaders" type="Node" parent="."]
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]