Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame

Instead of forcing an update every frame, you can instead use requestAnimationFrame(), and then calculate the fps to get your delta time for updating the game. I see that the game is minified and obfuscated so I can’t see how you do things, so I’m afraid I can’t help much more with this.

I'm actually using requestAnimationFrame() and delta to calculate the frame difference, and I've used the same algorithms in other games. I'm sorry I can't be of more help, but if I come up with a solution, I'll be sure to share it.