I want a sine-reset, too. Right now i'm using it to shake a sprite.
I currently solve it by saving the sprites position at the point i start the sine behaviour, then on disabling i restore it via two instance variables posX & posY
Develop games in your browser. Powerful, performant & highly capable.
Member since 30 May, 2013