Answer the question
In order to leave comments, you need to log in
How to pause on requestAnimationFrame(render)?
Hello, how to pause on requestAnimationFrame(render) ?
So that when you click on the button -\u003e<div id="pause_btn" onclick="pause();"></div>
window.pause = function(){
window.stopgame = !window.stopgame
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question