[Android] Frame drop

[Android] Frame drop
0.0 0


I have game using box2d. On my scene I have about one dynamic body and five static bodies.
During the game i add new static body and delete the old one. My player jumping on the platforms.

On iOS I have always 60 fps, game work perfect, but on android(samsung galaxy S3) my game has frame drop.
I do not know what is the cause of the frame drop.

I optymize my game to:

  • 12 draw calls
  • 1 altas (1024 x 2024) 16bit per channel.

What im doing wrong?


You should PROFILE in order to know what is taking more time, if it’s Box2D physics, or if it’s drawing, or if it’s something else. Once you know that, you can think on how to fix it.