OP 11 July, 2020 - 04:13 AM
Hello, I am trying to keep drawing the player in a canvas with requestAnimationFrame, but I think the callback in requestAnimationFrame is only running once because if I put a console.log there it only runs once. I am not getting any errors, can anyone help me? (Note: website is in Glitch)
source
site
source
site