I'm making a game at the moment and I've been trying various methods but I really can't work out how to do the following.
So, I have the user input (touch) being used to draw a line (basically creating an image every few milliseconds), which doesn't slow down because the line fades shortly after. Anyway, I want to be able to draw around other active objects and then be able to check whether active objects are inside any shapes formed by this line.
E.g. when somebody draws a circle around two active objects, I want them to both disappear. I haven't been able to work out any methods of using this method to be able to link objects together.
Anybody got any ideas on how this could be done or any tutorials?