DEV Community

Discussion on: Writing a Game in Typescript

Collapse
 
cthulhudev profile image
CthulhuDev

Why setInterval and not RAF? Nice article btw!

Collapse
 
iamschulz profile image
Daniel Schulz

I did use requestAnimationFrame, which is the whole reason behind the frame skip mechanic.