Can you set the Maximum number of simultaneous without change the source code of cocos2d-x ?
I mean I’m working in some game that I set to limit the maximun touches by 2.
But I only find this.
toojuiceSep '14
I think this might be limiting it…
CCEventTouch.h defines this:
static const int MAX_TOUCHES = 5;
yes this works but I have to change the source code of cocos, and that is a little problem because I have to change that in the machine that I’m working, is there a way to change this ?
Like in the AppDelegate I mean change the limit of MAX_TOUCHES without change the source code ?