Game Development Community

iOS Framerate Cap

by Jason Gossiaux · in Torque 2D Professional · 04/29/2016 (9:14 am) · 0 replies

Howdy folks. Does anyone here know how to reduce the default iOS framerate below 60fps?

On the PC I can just set timeManagerProcessInterval greater than 17, and that does a reasonably OK job of capping the frame rate below 60. On iOS this variable actually slows down the entire simulation without changing the frame rate.

In the later stages of my game the framerate can drop into the 50s, and combined with the AI scheduling stutter this can disrupt touch events a bit. Rather than limit the zoom, I'd rather just cap the fps at 45 or 30fps and provide a more consistent experience.

Thank you!