Hi there,
I've a little problem regarding the use of Menu(s).
I know that it's not designed to handle multitouch, so I just presumed I could not use it so that two buttons of the menu are pressed at the same time, which is fine.
I subclassed a MenuItem so that the player can keep a button pressed and generate an action, but any other touch outside of the Menu region, to activate other functions, calls the "unselected" function on the menuitem.
So any kind of touch, even outside the menu, cancels the touch on the menuitem.
Is there a hack/work-around for this?
I just have this menu with two buttons, and a slider on the other side of the screen, and would need the touch on the slider to not affect the selected/unselected status of the menu.
Possible in any way?
Or do I need to do it all by scratch?
Thanks!
Patrick
EDIT: Using cocos 0.7.3 ! So no new touch dispatcher, poor me.