Setalpha by distance traveled

BlitzMax Forums/BlitzMax Programming/Setalpha by distance traveled

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.

x1 and y1 are the x and y coordinates of the particles start point
x2 and y2 are where the particle is at the current moment

it doesnt matter what direction it travels, the function still works
(because of the abs command)