I understand that, by default, Corona applications are locked at a frame rate of 30 FPS.
Though that’s more of an upperbound, meaning it can’t go above that number.
So how do I display the REAL fps my application is running at?
[lua]
display.fps
[/lua]
does not display what I am looking for, if i make things in my application too hectic I can bring it down to around 5-10 FPS, however that API call always displays a 30
basically,
[lua]
local myText = display.newText(display.fps, display.contentWidth - 30, display.contentHeight - 30, native.systemFont, 16)
local function updateText()
myText.txt = display.fps
end
Runtime:addEventListener(“enterFrame”, updateText)
[/lua]
is not doing it for me