Yea, thats aboit it, i tried giving my sprite the sine behavior, setting the magnitude and all but all my sprite does is moves an ich not shaking. I dont want the screen to shake, just the sprite.
Develop games in your browser. Powerful, performant & highly capable.
See this demo
howtoconstructdemos.com/simple-object-shake-with-a-custom-ease