class_name EnemyExplosionVFX extends LightBurstVFX func _init() -> void: # #87: more of everything, and a shockwave behind it. A kill used to read # as a small red puff that was easy to miss in a fight - the moment the # player is being rewarded for should be the loudest thing on screen for # an instant. color = Color(1.0, 0.25, 0.18) particle_count = 22 lifetime = 0.62 min_speed = 120.0 max_speed = 460.0 shockwave_radius = 86.0 shockwave_color = Color(1.0, 0.55, 0.3) static func spawn(parent: Node, world_position: Vector2) -> void: var vfx: EnemyExplosionVFX = EnemyExplosionVFX.new() vfx.position = world_position parent.add_child(vfx)