You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will let us nicely pause the game, but has the benefit that you can slow down or speed up time for neat effects.
In order for this to work, we'll need the ability to run multiple scenes at the same time, because currently if you set the time's speed to 0, then the simulation won't run again, so your code won't have a way to un-pause it. You'll also want a second scene to run so you can draw a menu screen on top of a paused game.
The text was updated successfully, but these errors were encountered:
This will let us nicely pause the game, but has the benefit that you can slow down or speed up time for neat effects.
In order for this to work, we'll need the ability to run multiple scenes at the same time, because currently if you set the time's speed to 0, then the simulation won't run again, so your code won't have a way to un-pause it. You'll also want a second scene to run so you can draw a menu screen on top of a paused game.
The text was updated successfully, but these errors were encountered: