I'm chasing down the last few things before I submit a game to Apple. This one has me stumped.
My game uses multiple touches for control & shooting. Every now & then the game will only register one touch. Shutting down the program & restarting it fixes the problem.
I just looked at the ChipmunkAccel demo and I'm doing everything it does in all the same places to configure the game for multiple touch. My game is a bit bigger than ChipmunkAccel though. I set everything up in the applicationDidFinishLaunching method. The game itself is another scene/layer that gets launched from the main menu.
Has anyone else seen this? Or...is there something I should set in my game layer to make sure multiple touch is enabled?
FWIW, I tried putting this:
[[[Director sharedDirector] openGLView] setMultipleTouchEnabled:YES];
in the init method of my game layer, but it didn't seem to clear things up. I'm testing now with that line in the onEnter method of my game layer.
The odd thing is that everything works great about 99% of the time. I really don't want to ship the game with this problem though.
Any ideas?
Thanks!
-Bryan