Hello, I would like to know if construct uses requestAnimationFrame or setInterval, this is because Windows 8 html5 Apps run slower whith set interval.
I just exported my game to Windows 8 and it runs at 40fps, sometimes it skips frames.
I apreciate your help. Thank you.
Develop games in your browser. Powerful, performant & highly capable.
I believe it uses requestAnimation frame. As the scirramark test queries for support for it when you run the test. I believe I also saw it somewhere I the documentation. The thing you need to watch out for in some isntances is that IE does not support webGL and IE is the underlying rendering engine for Native windows 8 apps. A good resource for Windows 8 specific questions as well is thehen as he has already published to the Windows store and done work on optimization around it as well as written the Windows 8 Plugin.
It uses requestAnimationFrame with a fallback to setInterval if not supported. Windows 8 apps should be using requestAnimationFrame since IE10 supports it.