Made particles emit from resource

This commit is contained in:
2024-03-12 10:23:11 -05:00
parent 4b362fabed
commit 4718108407
8 changed files with 72 additions and 22 deletions

View File

@@ -0,0 +1,12 @@
[gd_scene load_steps=2 format=3 uid="uid://73dsjfc4imfo"]
[ext_resource type="Script" path="res://data/buildings/basic/harvester/harvester_particles.gd" id="1_td5fv"]
[node name="HarvesterParticles" type="Node2D"]
script = ExtResource("1_td5fv")
[node name="ParticlesTimer" type="Timer" parent="."]
wait_time = 0.5
autostart = true
[connection signal="timeout" from="ParticlesTimer" to="." method="_on_particles_timer_timeout"]