How To Manipulate Time? (Slower, Faster Or Freeze)

Hi,

Is there any way to make the whole game act faster/slower/stop? I thought there might be a way using Box2D since my objects are moving with physic simulations, thus making the time input faster might do it.

Thanks.

Hi there,

Yes, try playing around with physics.setTimeStep() (http://docs.coronalabs.com/api/library/physics/setTimeStep.html), and you may be able to achieve what you have in mind.

  • Andrew

Hi there,

Yes, try playing around with physics.setTimeStep() (http://docs.coronalabs.com/api/library/physics/setTimeStep.html), and you may be able to achieve what you have in mind.

  • Andrew