Lightning makes for a striking visual effect because it’s chaotic, powerful, and looks pretty.
In this tutorial series, you’ll learn how to:
We’re going to design our lightning effect like a weapon: when clicking, it will shoot towards the mouse unless it hits a static body.
There are two parts to the lightning beam: the lightning beam scene and the lightning jolt scene.
The lightning beam dictates how many flashes of lightning will happen, and the time between each flash. Each flash creates a lightning jolt at the target point.
In the next part, we’ll start by setting up important scenes.