HUGE Android Optimization Tip!

This may be obvious to most of you, but a simple and very effective way to boost performance on Android Devices is to set FPS to 30 in your config.lua file!

I’m working on a game which will work on both iOS and Android and I had FPS set to 60 (which worked beautifully on my iTouch and iPad 2) but it was looking very sluggish on my Sony X10 (running Android 2.2).

Here is my settings.lua file (for those interested)

[lua]application =
{
content =
{
width = 320,
height = 480,
fps = 30,
scale = “letterbox”,

imageSuffix =
{
["@2x"] = 2
}
}
}[/lua]

Regards,

Andreas Ricci
NuPlay Entertainment
Founder & Lead Developer [import]uid: 7366 topic_id: 12714 reply_id: 312714[/import]

What happens if you don’t declare an FPS? Doesn’t it just go as fast as it can unless the processor is lagging?

Regards,
Jordan Schuetz
Ninja Pig Studios [import]uid: 29181 topic_id: 12714 reply_id: 46569[/import]

if you don’t declare an FPS then it will take 30 by default also if you declare anything rather 60 then also it will take 30
:slight_smile: [import]uid: 12482 topic_id: 12714 reply_id: 46610[/import]

Exactly.

If no FPS is declared it will default to 30.

Regards,

Andreas Ricci
NuPlay Entertainment
Founder & Lead Developer [import]uid: 7366 topic_id: 12714 reply_id: 46775[/import]