class_name BuildingExplosionVFX extends LightBurstVFX func _init() -> void: # #99: bigger and slower than a hull going up. A structure coming down is # the largest thing the player can lose without losing the run, and it # has to be legible from across the map rather than mistaken for another # kill in the fight that caused it. color = Color(1.0, 0.6, 0.2) particle_count = 34 lifetime = 1.05 min_speed = 90.0 max_speed = 520.0 shockwave_radius = 190.0 shockwave_color = Color(1.0, 0.78, 0.35) static func spawn(parent: Node, world_position: Vector2) -> void: var vfx: BuildingExplosionVFX = BuildingExplosionVFX.new() vfx.position = world_position parent.add_child(vfx)