I have a serious problem here, and I think it's Menu class's fault.
In my game on it's layer (which is touch-enabled) I have a couple of menu layers (for restart when you've won or lost)
These menus are getting touches even if they're zOrdered to -1 or set visible = NO or set to some far position, no matter what.
So when you play you could accidentally hit that invisible menu and it would work.
I even went to menu.m code and tried to set if(self.visible) on all the events.
I think the problem is with
[[TouchDispatcher sharedDispatcher] addTargetedDelegate:self priority:INT_MIN+1 swallowsTouches:YES];
In menu.m:176
Please give some advice as to how to disable them for when they're invisible (i.e. game is in progress)
Cocos2d 0.8