feat: added explosion sounds

This commit is contained in:
DottsGit
2026-06-06 01:42:15 -04:00
parent a6f5f24420
commit 8118100a95
4 changed files with 15 additions and 0 deletions
+1
View File
@@ -83,5 +83,6 @@ func _spawn_custom_projectile(origin: Vector3, fire_dir: Vector3) -> void:
proj.falloff_curve = 2.0 # Steep dropoff: "Should be an instant kill in closest 50%"
# (0-50% = dist<6. 6/12 = 0.5. 1.0 - 0.5^2 = 0.75 multiplier. 200 * 0.75 = 150 damage -> 1 shot kill)
proj.can_self_damage = true # Can self damage
proj.explosion_pitch = 0.4 # Deepest explosion
get_tree().current_scene.add_child(proj)