I’m a little confused. If I create a simple project using the Starling library, which merely
displays Starling’s built-in fps counter (Starling.current.showStats) and don’t set a framerate
in project.xml, I get around 60fps in FireFox & Chrome.
As soon as I specify a framerate of say 40, like:
<window background="#ffffff" fps="40" />
all of a sudden the framerate seems to be capped at 30fps. This can be reproduced with the
Maybe someone knows what’s going on?
Also, some forum posts say we should set fps to 0 for HTML5 target to utilize requestAnimationFrame
but conceal what this actually means. As far as I can see this just sets the framerate to 1 and things
like Event.ENTER_FRAME are firing once a second. What is this good for?