Pausing the game

Is there a way to pause the game with a single tap on a button? Meaning pausing all the transitions, timers, spritesSheets playing… or do I have to do it manually for each one?

I searched for something like that but I didn’t find anything in the documentation.

There isn’t a native API that can accomplish that, as corona wouldn’t know what is running that should be stopped. There are a good amount of third party transition libraries that could do the trick. I’d suggest starting with the old codebase and going from there.

Take a look at @jstrahan’s excellent _pause.lua library. Very easy to use and very powerful. 

http://j-strahan.com/main2/adding-_pause-lua/

There isn’t a native API that can accomplish that, as corona wouldn’t know what is running that should be stopped. There are a good amount of third party transition libraries that could do the trick. I’d suggest starting with the old codebase and going from there.

Take a look at @jstrahan’s excellent _pause.lua library. Very easy to use and very powerful. 

http://j-strahan.com/main2/adding-_pause-lua/