amusudan
Lousiest of Potatoes
GM Version: GameMaker: Studio
Target Platform: All
Download: New download here, fixed one error with a non-existant script.
Links: N/A
Summary:
Ever wanted to draw kick-ass lightning in your game but aren't the artsy type? Generate it! With this simple script you can draw wicked lightning, wickedly easy!
Tutorial:
Download the script and import it into your project by right clicking on the "scripts" folder and clicking on "add existing script".

Then call the script like this:
draw_lightning(x, y, x2, y2, branches, colour)
Where x + y make up the first point of your lightning and x2 + y2 make up the final point of your lightning.
Branches is wether the lighting splits up into smaller branches of lightning and colour is the colour of the glow around the lightning.
If you have any problems just comment it down below, I hope this helped you in making your game a little bit awesomer
Last edited: