spawner.tscn (334B)
1 [gd_scene load_steps=2 format=2] 2 3 [ext_resource path="res://spawner.gd" type="Script" id=1] 4 5 [node name="spawner" type="Position2D" groups=["spawner"]] 6 script = ExtResource( 1 ) 7 8 [node name="Timer" type="Timer" parent="."] 9 one_shot = true 10 autostart = true 11 12 [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]