Skip to content

fixed update #23

Description

@owmo-dev

Add a fixed update method to Engine and Entity class which attempts to maintain roughly 60fps, regardless of the current frame rate. If the browser FPS dips below, it should repeat N times, if it goes above, it should skip frames. The method could be used for physics or other simulations where accuracy is not critical, but good enough will suffice.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions