Android unable to handle too many physics bodies?

Hi

I have a very simple implementation (not posting the code because it’s really very simple) where I create 100 circles, add them to “physics.addBody” and set a different linear velocity to each one.

PS.

  • They’re simple circles (no images)

  • I have disabled the collision contact as I don’t need them to collide.

  • No sounds

  • No “enterFrame” listeners, nothing else

Performance result:

Emulator = great

iOS = great

Android = terrible (Samsung Galaxy S3)

Is there any special requirement to make it smooth or Corona just can’t handle 100 objects moving on the screen at the same time? If the latter, I will be very concerned and in real doubt about whether to keep up with Corona or not.

I would appreciate any ideas.

Thanks!

It shouldn’t be a problem, but posting your code is the only way to tell if the issue is on your device, or in the code itself. I can test it on my devices to be sure.

It shouldn’t be a problem, but posting your code is the only way to tell if the issue is on your device, or in the code itself. I can test it on my devices to be sure.