How to pause/resume game status in corona? (or apply slow-motion)

Hello,

I’ve encountered a problem with my project.

How to pause/resume game status in corona?

Precisely, my questions are:

  1. How to pause/resume a game status that uses some transition functions?

  2. How to pause/resume a physical-based game?

  3. What if the game uses both physics and transitions?

  4. If I need to apply Slow-motion when needed, what’s your suggestion to do that? :stuck_out_tongue:

Thanks for reading!

  1. transition.pause() / transition.resume()

  2. physics.pause() /physics.start()

  3. look at 1. and 2.

  4. A bit more complex you can try physics.setTimeStep with different values (-1 is default frame based) not sure about this. Transitions you would have to handle yourself to slow them down (cancel and reset them)

  1. transition.pause() / transition.resume()

  2. physics.pause() /physics.start()

  3. look at 1. and 2.

  4. A bit more complex you can try physics.setTimeStep with different values (-1 is default frame based) not sure about this. Transitions you would have to handle yourself to slow them down (cancel and reset them)