I wrote a small game prototype and my FPS is 59-60 at pc player whenever i test on phone it goes around 30 FPS. So, i checked gideros sample "Sleeping Bodies" it gives me 59-60 FPS at pc player and 38-40 fps on phone player. I think this applications are very small so there should not be any real FPS drops. I am using following fps function and calling at OnEnterFrame event.
local frame = 0
local timer = os.timer()
local function displayFps()
frame = frame + 1
if frame == 60 then
local currentTimer = os.timer()
print(60 / (currentTimer - timer))
frame = 0
timer = currentTimer
end
end |
Development Machine Specs:
Windows 7 x64
Gideros Studio v2012 09.2
Mobile Phone : Galaxy S3 -Android Version 4.1.1
Comments
Can you download one the games developed with Gideros and test if it's smooth on your phone or not? (e.g. https://play.google.com/store/apps/details?id=com.jenots.mashballs)
www.tntengine.com
just tested on my SGS3 "Sleeping Bodies"
using your FPS code:
----- FPS
61.520794028461
60.146979127821
59.874251617799
59.993323163063
60.118202365519
59.828185894404
60.025075475143
59.977076281641
----- FPS
have some programs running in background ? :-/
www.tntengine.com
@GregBug tested again my SGS3 "Sleeping Bodies" and the results :
41.945909177164
39.985596281876
39.994305210906
40.003445843477
39.989557180326
39.990497777875
39.970546130898
Of course there are some programs running is background but i have 550(used)/830(total) memory usage , just checked and my phone performance is just fine.
May be i can test on different phone but i do not have one , yet.
Can you turn off "power saving" and test again?
Likes: OZApps
turned on "power saving"
my new FPS:
41.100809783748
39.992890144055
39.975657036863
40.007385763427
40.028374567022
39.949049408481
39.995401595344
same as @mefisto sgs3
www.tntengine.com
But my prototype gives me again 29-30 fps at full power state, may be it is my mistake i will test earlier versions and share the results.
Now , big question is how we can handle "power saving" mode? "Mashballs" is just fine at power saving mode!
And i am planing to write a plugin for to detect if power saving mode is active or not, so i can tell player to : "in order to get full performance you should turn off power saving".