Hi,
I see that the performance of 2.0.2 is better than 2.1a on iOS. My test consists of dropping six balls, all with groupIndex=-1 so they don't collide with each other and with restitution .6, from the top of the screen to the bottom, which has a static body spanning the width of the screen. In 2.0.2, I get around 30 FPS when the balls are falling and when they hit the bottom and bounce. In 2.1a, when the balls hit the bottom and bounce, I get below 20 FPS and as low as 16 FPS.
Here's the step code for 2.0.2:
m_world.Step(1.0 / 30.0, 4);
and for 2.1a:
m_world.Step(1.0 / 30.0, 4, 2);
I guess this should result in the same or less iterations per step. The performance of 2.0.2 isn't good when I have more objects: I get below 20 FPS when I have 12 balls.
I want to try the Alchemy port next, but I've read conflicting reports on it's performance on iOS.
Thanks.
I see that the performance of 2.0.2 is better than 2.1a on iOS. My test consists of dropping six balls, all with groupIndex=-1 so they don't collide with each other and with restitution .6, from the top of the screen to the bottom, which has a static body spanning the width of the screen. In 2.0.2, I get around 30 FPS when the balls are falling and when they hit the bottom and bounce. In 2.1a, when the balls hit the bottom and bounce, I get below 20 FPS and as low as 16 FPS.
Here's the step code for 2.0.2:
m_world.Step(1.0 / 30.0, 4);
and for 2.1a:
m_world.Step(1.0 / 30.0, 4, 2);
I guess this should result in the same or less iterations per step. The performance of 2.0.2 isn't good when I have more objects: I get below 20 FPS when I have 12 balls.
I want to try the Alchemy port next, but I've read conflicting reports on it's performance on iOS.
Thanks.