Recently the user lhunath found an interesting tip to find memory leaks using an static analyzer for XCode and iPhone.
He opened the issue #90 with the list of memory leaks found, plus the tool that he used: LLVM/CLan Static Analyzer
Also, the user webmaster found this discussion about touch propagation. Basically you can change the priority of the touch events. If your touches are not being propagated as fast as you expect try adding this code to your main loop:
while (CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, YES) == kCFRunLoopRunHandledSource) {};
Read the full cocos2d discussion here: ccTouchesBegan too heavy?
No comments:
Post a Comment