I do not know how to make the animation of my enemy sprite fit with the sine its a horizontal sine btw.
Develop games in your browser. Powerful, performant & highly capable.