12 lines
280 B
GDScript3
12 lines
280 B
GDScript3
|
|
class_name ShipExplosionVFX
|
||
|
|
extends LightBurstVFX
|
||
|
|
|
||
|
|
|
||
|
|
func _init() -> void:
|
||
|
|
color = Color(0.25, 0.85, 1.0)
|
||
|
|
|
||
|
|
|
||
|
|
static func spawn(parent: Node, world_position: Vector2) -> void:
|
||
|
|
var vfx: ShipExplosionVFX = ShipExplosionVFX.new()
|
||
|
|
vfx.position = world_position
|
||
|
|
parent.add_child(vfx)
|