Hi, I recently added a new feature to the game I'm making, and for some reason I'm taking a hit in performance.
The debugger tells me the game averages between 150 and 200 objects, and collision checks/s go from 100 to 4000.
CPU utilization ranges from 10 to 40%.
The worst thing is that for some reason, the engine sometimes doesn't detect collisions between moving objects that were detected before (this is not consistent, I checked with save/load in the debugger, and most of the time detection works). I'm using the moveTo behavior and the fastest moving objects move at 200 pixels/s (their collision polygons are 10x10 in size)
I won't post a capx for your sake (more than 250 events in the game), but if anyone wants to help and needs more information, I'll gladly provide it.
Cheers