Just realised a circle does not have a very good fit for a line. I will use a box check. Does anyone got an optimized algorithm for that, does blitzmax have any built-in collisions except the image-layer ones?
RectsOverlap(x1,y1,w1,h1,x2,y2,w2,h2) ?
RectsOverlap(x1,y1,w1,h1,x2,y2,w2,h2) ?