Skip to content

Time enhancements #1795

@gran4

Description

@gran4

Enhancement request:

Make the timer in arcade better.

What should be added/changed?

P.S: dt stands for delta_time

  • clamped dt
  • paused dt
  • slow-mo
    - give both a delta_time and a real_delta_time?
  • expose Time object with these additional values, to avoid polluting update function signatures w/a bunch of args time.delta_time and time.real_delta_time, time.set_slowmo()

What would it help with?

  • There are huge dt's after debugging.
  • Loading games causes huge dt.
  • Makes slow-mo effect easy.

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