juddering using physics only when mobile network /3G is on.

Hello everybody,

I am facing a strange problem in my game:

My Testphone is an Android HTC One S

I am using physics in my game and the gameplay is fluid. But when im not connected to the internet via WIFI but via mobile network/3G the game is starting to judder/stutter from time to time (every 5 seconds or something like this). As if the the mobile traffic / background synchronisation via 3G would lead to a significant performance lack.
Especially i recognize this stuttering if a display object falls free.

Did anyone had these problems too? What can i do to avoid it.

best regards,
Michael [import]uid: 133825 topic_id: 34029 reply_id: 334029[/import]

Do you have analytics on in your app? Are you doing any network traffic?

Background processes like email and such might hit your CPU harder if the network connection is slow. What is your memory usage like? [import]uid: 199310 topic_id: 34029 reply_id: 135313[/import]

There are various issues with Corona on Android phones. I’ve become a pretty much “Android only” developer, and you have to make sure everything in your game is optimized correctly. Make sure to set the FPS to 60 in your config.lua, and I would recommend NOT using physics. Try to use for loops to move objects across the screen (basically just do it the harder way).

It could just be your phone too. Try factory restoring it and see if it works. With some of the older android phones, Corona epicly fails :frowning: [import]uid: 29181 topic_id: 34029 reply_id: 135400[/import]

Do you have analytics on in your app? Are you doing any network traffic?

Background processes like email and such might hit your CPU harder if the network connection is slow. What is your memory usage like? [import]uid: 199310 topic_id: 34029 reply_id: 135313[/import]

There are various issues with Corona on Android phones. I’ve become a pretty much “Android only” developer, and you have to make sure everything in your game is optimized correctly. Make sure to set the FPS to 60 in your config.lua, and I would recommend NOT using physics. Try to use for loops to move objects across the screen (basically just do it the harder way).

It could just be your phone too. Try factory restoring it and see if it works. With some of the older android phones, Corona epicly fails :frowning: [import]uid: 29181 topic_id: 34029 reply_id: 135400[/import]