Mouse click on image

BlitzMax Forums/BlitzMax Beginners Area/Mouse click on image

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.

there is probably an easier way to do this but to see if a point is inside of a circle.

Equation of a Circle: (parametric coordinates)
for a circle with origin (j, k) and radius r:
x(t) = r cos(t) + j y(t) = r sin(t) + k

tes to see if the distance from the center of the circle to the point is longer than the radius of the circle.