Easy, light & customizable effect!

Create lightning zaps to your game with ease! Created with Actionscript 3. Easy to use, customizable and light. Just unzip lightningstrike.as to your game’s folder and paste 2 of lines of code with lightning parameters you like and your ready to go! Code itself is commented and zip contains .pdf that will teach you how to use the lightning effect.

You can adjust the following parameters:
  • Initial x-position
  • Initial y-position
  • End x-position
  • End y-position
  • Stroke width
  • Lightning duration
  • Max amplitude
  • Stroke color
  • Glow color
  • Stroke width decrease (0=laser (no changes in width))

+ Sound effect :)

by
by
by
by
by
by