<img src="http://eventorbot.files.wordpress.com/2013/07/overlap-example1.png" border="0">
I have 2 layers :
layer 1 : background image and sprites with bullet effect (the targets)
layer 2 : the boxes (stationary on top layer)
current target behaviors:
on touch the targets "destroy" "add 1 to score" and "subtract 1 from ammo"
this is working.
What Im trying to do next, is use the boxes as a mask when the targets are behind them, to cancel the touch effect on the targets..
if the box is touched the target behind the box it is not destroyed, Ive been trying to find a solution but cannot find one or work it out.
any help appreciated.