Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Unexpected FPS drop! — Gideros Forum

Unexpected FPS drop!

mefistomefisto Member
edited November 2012 in Bugs and issues
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

Sign In or Register to comment.