Force frame rate to 30 on Windows Phone

Hi,

I am able to run the game on Android and iOS in 30 fps all right but with the same configuration I cannot make it run on WP 8.1 in 30 fps. Any idea how?

Do you have an AppDelegate in Lua? You can change the director->setAnimationInterval(1.0 / 60) to director->setAnimationInterval(1.0 / 30).

But of course, it is only the average fps; more or less of the value you inputted,
you cannot lock it to certain fps.

No, Lua doesn’t have AppDelegate but WP does. It’s set as Director::getInstance()->setAnimationInterval(1.0 / 30.0f); but the average fps is still 60 fps.

I’ve also set it in Lua but nothing works for WP.