added coin spawner

This commit is contained in:
derek
2025-06-25 15:17:39 -05:00
parent 3a3ab0f90c
commit db85bf39c8
7 changed files with 37 additions and 4 deletions

12
coin_spawner.tscn Normal file
View File

@@ -0,0 +1,12 @@
[gd_scene load_steps=2 format=3 uid="uid://1shngq3vrbu"]
[ext_resource type="Script" uid="uid://bn2u3tc7cwlhc" path="res://Scripts/coin_spawner.gd" id="1_7h776"]
[node name="CoinSpawner" type="Marker3D"]
script = ExtResource("1_7h776")
[node name="Timer" type="Timer" parent="."]
wait_time = 0.1
autostart = true
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]