Answer the question
In order to leave comments, you need to log in
How to animate a picture?
It turns out a solid thing, well, you get the point. I want the bird to fall normally.
Answer the question
In order to leave comments, you need to log in
add ctx.clearRect(0,0,w,h) to loopBird
--
Why is the picture recreated on each iteration of requestAnimationFrame?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question