Level 09 and some spark lights

This commit is contained in:
Victor Turgeon
2022-10-12 21:38:37 -04:00
parent f0ad9fc136
commit 8da5c6e0c2
4 changed files with 153 additions and 4 deletions

View File

@@ -1,6 +1,12 @@
extends CPUParticles
onready var light = $OmniLight
func _on_Timer_timeout():
emitting = !emitting
if light:
if light.light_energy > 0 :
light.light_energy = 0
else:
light.light_energy = 5