[gd_scene load_steps=3 format=3 uid="uid://c67lfbk4gf1ga"] [ext_resource type="Script" path="res://spawner/spawner.gd" id="1_xqfmg"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_p13i4"] size = Vector2(16, 5) [node name="Spawner" type="Node2D"] script = ExtResource("1_xqfmg") [node name="Timer" type="Timer" parent="."] wait_time = 0.1 autostart = true [node name="Area" type="Area2D" parent="."] collision_mask = 4 [node name="CoinShape" type="CollisionShape2D" parent="Area"] scale = Vector2(3, 3) shape = SubResource("RectangleShape2D_p13i4") [connection signal="timeout" from="Timer" to="." method="spawn"]