Skip to content

Access to any time reference? #57

Closed

Description

@DaveSteadman

I've not seen a reliable way to measure the passage of game-time. The passing of iterations varies greatly between realtime true/false modes, and the numbers I need also differ from the sentdex tutorial.

Is there any way to access that game-clock near the bottom left of the screen?

Thanks.

Activity

  1. DaveSteadman commented on Jun 27, 2018

    @DaveSteadman
    Author

    Now having seen: #29 (comment)

    self.state.game_loop increments around 22.5 per game-clock-second across both Realtime and non-realtime modes.

  2. Archiatrus commented on Jun 28, 2018

    @Archiatrus
    Contributor

    Just to be exact (could be relevant to your application): it is 22.4 steps per second. Normal speed is 16 steps per second and faster (the default speed) means 1.4 times faster.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions