Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

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

Description

@ericlathrop

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions