I've found that dynamic collision detection slows my game to a crawl. Is this expected, and are there any tricks I can do to speed things up while retaining the very useful dynamic collision detection? I'm thinking about trying out this code archive entry to see if it works: http://www.blitzmax.com/codearcs/codearcs.php?code=898
My latest level had been having horrible slowdown on device, and after a bit of snooping I've figured out that turning off the dynamic flag on objects clears it right up. I didn't notice at first because there's no slowdown in the simulator, but once I tested on device the framerate dropped like a rock.
Incidentally, when I had dynamic true for just a couple objects it was fine, but in my latest level I had it set for 8 objects (still not a huge number) and that killed my framerate.
|