phaserjs/phaser-ce

Game loop runs slow when setTimeout() is used

samme opened this issue · 1 comments

samme commented

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