I'm building a simple online 2D game. And I use canvas, but my sprites do not move softly enough.
Sometimes the movement looks smooth, others do not.
j & # 39; uses
requestAnimationFrame. Each image is less than 16ms and the FPS indicators show 60. But the movements are not smooth.
How to smooth sprites on the web?