Why the meter ascend so slow while it descend so fast?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why the meter ascend so slow while it descend so fast??

And why it takes so long to fill up again I mean after a cycle it takes a bit too long time to reappear on the screen? https://code.sololearn.com/WCuEw3D2JXUU/?ref=app

21st May 2020, 10:12 AM
[ ]
[     ] - avatar
3 Answers
+ 7
Both issues appear to be resolved by adjusting clearrect to c.clearRect(13, py/2, 14, py/2); Since I don't do canvas, I do not know why lol.
21st May 2020, 1:30 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Hatsy Rei thank u so much....idk how u thought it but it works miraculously.......lol
21st May 2020, 1:43 PM
[ ]
[     ] - avatar
21st May 2020, 12:56 PM
[ ]
[     ] - avatar