[gd_scene load_steps=4 format=2] [ext_resource path="res://component/entity/spawner/MobSpawner.gd" type="Script" id=1] [ext_resource path="res://component/entity/octo/Octo.tscn" type="PackedScene" id=2] [sub_resource type="Curve2D" id=1] _data = { "points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 480, 0, 0, 0, 0, 0, 480, 720, 0, 0, 0, 0, 0, 720, 0, 0, 0, 0, 0, 0 ) } [node name="MobSpawner" type="Path2D"] curve = SubResource( 1 ) script = ExtResource( 1 ) Mob = ExtResource( 2 ) [node name="MobTimer" type="Timer" parent="."] process_mode = 0 wait_time = 0.53 [node name="MobSpawnLocation" type="PathFollow2D" parent="."] [connection signal="timeout" from="MobTimer" to="." method="_on_MobTimer_timeout"]