ericdrowell / KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://www.kineticjs.com
3.98k stars 753 forks source link

Add OnUpdate callback for tweens #922

Open netgfx opened 10 years ago

netgfx commented 10 years ago

Hello,

I think it would be extremely beneficial if we had an "onUpdate" callback function within tweens, because sometimes it is needed to "check" things while the animation is running. If someone has implemented this please share how.

Thanks.

jfollas commented 10 years ago

One immediate solution would be to use Greensock for your tweens, which offers such ability (as well as a much richer animation feature set, such as timelines).

GreenSock Animation Platform: http://www.greensock.com/

Docs for the Kinetic plugin for GSAP: http://api.greensock.com/js/com/greensock/plugins/KineticPlugin.html

On Fri, May 9, 2014 at 4:30 AM, Michael Dobekidis notifications@github.comwrote:

Hello,

I think it would be extremely beneficial if we had an "onUpdate" callback function within tweens, because sometimes it is needed to "check" things while the animation is running. If someone has implemented this please share how.

Thanks.

— Reply to this email directly or view it on GitHubhttps://github.com/ericdrowell/KineticJS/issues/922 .