Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm searching how to manage game framerate on mobiles devices, here is my problem:

On a computer with got something like that:

void main()

On a mobile device with got something like that:

void update()

void render()

void event()

When I search on internet, I found something like that everytime:

-> GameLoop

-> Fix your time step

I'm using IOS (With GLKViewController) and Android (with the NDK), and I've that rendering method is call from another thread

Thanks for your help!

share|improve this question
The structure of the update/render functions is unrelated to desktop/mobile. For example, with love2d the render function is a callback too. The key difference is that for mobile you avoid drawing if nothing has changed, as battery life is at a premium. – congusbongus Oct 1 '13 at 1:42

To get the right amount of movement when using a update(dt) function you must multiply the movement speed against delta time (dt = the amount of time since last frame update). So your position update could look like: newPosition = oldPosition + (moveSpeed * dt)

I hope this helps, I dont really understand what you mean by 'manage framerate'.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.