Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to scale time (0 = paused, 0.5 = 50% speed, 1 = normal, 2 = 200% speed) #58

Open
ericlathrop opened this issue Jun 19, 2016 · 0 comments

Comments

@ericlathrop
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant