Closed jonoxia closed 13 years ago
https://github.com/jonoxia/platform-game/commit/060654c7c82ef6acc898dfe274a2da7dcedff91e
now using requestAnimationFrame (thanks to Paul Irish's cross-browser method) and handling variable elapsed time between updates. Animation still freezes a bit once in a while (when garbage collector runs?) but that's a different bug.
Try requestAnimationFrame?