利用TweenMax实现贝塞尔曲线运动
TweenMax.to(m_ball, 2, {bezierThrough:[{x:197, y:196}, {x:177, y:356}], orientToBezier:true, ease:Back.easeOut});
tweenmax 网站有演示 http://www.greensock.com/tweenmax/
TweenMax.to(m_ball, 2, {bezierThrough:[{x:197, y:196}, {x:177, y:356}], orientToBezier:true, ease:Back.easeOut});
tweenmax 网站有演示 http://www.greensock.com/tweenmax/