Also consider applying masks to your images to reduce the touch surface to just the non-transparent part. I assume from your description that you’re displaying nested rings with probably the smallest one “on top” and the largest one “on bottom”.
To extend Danny’s suggestion though:
[lua]-- in your touch event
if event.target.identifier == “ring1” then
– the stuff you want to do
elseif event.target.identifier == “ring2” then
– etc
else
return false
end
return true[/lua]
If you [lua]return false[/lua] in the unmatched case the event will trickle down to the next lower object, etc. If you mask your rings you don’t need to worry about it, since if if the unmasked portions don’t overlap the ring you touched is the ring you touched.
Hope that makes sense. I worked out a lot of these same methods in my game “Concentric”: http://developer.anscamobile.com/showcase/concentric [import]uid: 44647 topic_id: 26297 reply_id: 106584[/import]