Create a new scene with Sprite2D as root
Save scene as spark_flash.tscn
Select the SparkFlash node
Set Texture to spark-flash.png
To remove the black background
Add a new CanvasItemMaterial
Set the Blend Mode to Add
Select the SparkFlash node
Create the ready function
To make the SparkFlash fade away
What is a Tween? (In Plain English)
Tween is short for "in-betweening", an old animation trick where you set a start value and an end value, and Godot automatically calculates all the smooth frames in between over a set amount of time.
What You Can Tween: Almost any number or color on a node, fading transparency (modulate:a) from 1.0 to 0.0, growing a button's scale on hover, or sliding a menu onto the screen.
Fire-and-Forget: Once you call create_tween(), Godot runs the animation automatically in the background without you needing to write any math inside _process(delta).
Return to the spell script
Add an export var for the spark scene
Update the area entered function
Run your main scene again and test the game