Lightening?

BlitzPlus Forums/BlitzPlus Programming/Lightening?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If you want something simple you could try to use "simple lines" with the same command as blitz,but there's a problem:the lightning is instantly show.
So you must write a code that after a line (or a bunch of...)start a timer and after the timer as expired anothe part of the lightning is shown.
Something like this:

line x1,y1,x2,y2
line x2,y2,x3,y3
start timer
if start timer is more than 100 and
previously_drawn_lines=true
line x3,y3,x4,y4
line x4,y4,x5,y5
start timer2
if start timer2 is more than 100 and previously_drawn_lines=true
line........

Something similar.
Or if you want something more graphical,you could replace the "lines"with line that you have draw!