Canvas.intervalId - newo2001/HTML5-Canvas-Wrapper GitHub Wiki

Datatype

Int

Description

The id returned by the call to window.setInterval() for the main game loop. This value is later used by setFPS() in a call to window.clearInterval() when updating the game's tickrate, in order to cancel the old loop and prevent two game loops running at once.

Notes

  • There is really no reason to use this value, it is better to stay away from it.
⚠️ **GitHub.com Fallback** ⚠️