Skip to content

Game loop runs slow when setTimeout() is used #687

@samme

Description

@samme

When using setTimeout(), the game loop runs slower than intended. timeToCall is incorrect.

fps: 51; desiredFps: 60; timeToCall: 18; elapsed: 20

  • A bug in the API:
    • Phaser version(s): 2.16.2 and earlier

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions