+2

Question for those html5 canvas pros

how can i make this circle to spin on its x-axis (like a spining coin on a flat surface) which can also be useful animating pick-up coins /tools/weapons in game...i tried hard to animating it that way..but only errors...anything useful like a link to a canvas tuitorial concerning this will also be apreciated (P.S css animations are obvious) https://code.sololearn.com/WZx25mKv77SG/?ref=app jQuery is also accepted.....

3/2/2018 11:11:18 AM

_c0d£ Bit£_

1 Answer

New Answer

+2

decrease the radius until it gets to a certain size then increase and again. If you see how coin sprites are animated (search images), you'll understand.