Tag Archives: requestAnimationFrame

The Basics of Game Loop Implementation – part 3

Intro A good way to code a game loop in JavaScript is to use the new “Timing control for script-based animations” aka “requestAnimationFrame” feature. The specs for this are still in draft state, but most modern browsers support it one … Continue reading

Posted in Examples, Game Dev | Tagged , , , , , , , , | 2 Comments