Lazer beams

BlitzMax Forums/BlitzMax Beginners Area/Lazer beams

look at setImageHandle and AutoMidHandle in the docs for centering images, it works with rotation too.

There is a function in the code archives that calculates the angle between two points, just set the image rotation to the angle the function returns.

Cheers
Charlie