I'm building a game at the moment, which sees the player drawing circles, which will then erase anything within those circles.
Is there any convenient way of doing this without using extensions. I've tried one approach, but it isn't so accurate.
My method involves checking for an overlap in lines (lines connect points spread as the mouse key is down) and if the user lets go and there is an overlap, long bars come in from each edge and stop when they reach one of the lines/points. This creates a rectangular shape which I can check position in comparison to, but it's really not that accurate (rectangle, rather than the circular shapes that can be drawn).
Is there any other ways?