How to detect collisions between sprite and a user generated shape of some sort?

Posted by Huwell on Game Development See other posts from Game Development or by Huwell
Published on 2010-10-09T07:42:18Z Indexed on 2011/06/21 8:31 UTC
Read the original article Hit count: 255

Filed under:

How to detect a collision between a sprite and a user generated shape of some sort.

For example. There are some objects on the screen. The user takes their finger and draws an circle shape around a object (The selection rule is painting circle around the sprite, but the painting shapes may be various). I need to detect which object selected, which just like:

(demo images) http://i52.tinypic.com/28h0t1g.png

© Game Development or respective owner

Related posts about collision-detection