+ 1

Why doesn't my simple code work ?!

This circle should move , but it is still static ! https://code.sololearn.com/WqdQnyM6Zh9L/?ref=app

17th Jul 2019, 5:28 AM
Bono
Bono - avatar
3 odpowiedzi
+ 2
I have made some corrections. Check this code and try to understand how it works https://code.sololearn.com/WVxbZ9TAk3BM/?ref=app
17th Jul 2019, 6:05 AM
Vikash Pal
Vikash Pal - avatar
+ 3
ctx.arc(this.x,this.y,this.r,0,Math.PI*2,false);
17th Jul 2019, 5:38 AM
Calviղ
Calviղ - avatar
+ 1
Calviղ Thanks , but it made the ball disappear
17th Jul 2019, 5:47 AM
Bono
Bono - avatar