litiengine icon indicating copy to clipboard operation
litiengine copied to clipboard

Implement a way of pausing the game

Open TheRamenChef opened this issue 5 years ago • 2 comments

TheRamenChef avatar May 12 '19 19:05 TheRamenChef

Have you tried using Game.loop().setTimeScale(0). This worked for us so far. Maybe it should be a bit more convenient to access though.

steffen-wilke avatar May 14 '19 18:05 steffen-wilke

Ideally, I'd like to pause the Environment without pausing the entire update loop. I would also like to pause sounds.

TheRamenChef avatar May 15 '19 13:05 TheRamenChef