Hi,
I am the newbie on cocos2d all series.
Scenario:
when some menuitem are overlapped, if i click on the overlap rect, the menuitem on the bottom will trigger touch event.
like attachment, when i click on the spade A left side, heart A will be triggered.
how to fix it?
whether should I use other way to implement it?
I considered to use onTouchBegan with containsTouchLocation.
I will get items, and step2 is choose the biggest zOrder item.
but it looks not so smart?
Thanks for your help!
menuscreen.jpg (29.9 KB)