Reworked lightning effect

This commit is contained in:
2025-12-21 01:28:57 +03:00
parent 8227e8bcf3
commit 2bf70d2b49
9 changed files with 107 additions and 72 deletions
@@ -16,4 +16,4 @@ func _physics_process(delta: float) -> void:
func _process_distance(delta: float) -> void:
_traveled_distance += _velocity.length() * delta
if max_distance > 0 and _traveled_distance > max_distance:
queue_free()
delete()