ScrollMagic icon indicating copy to clipboard operation
ScrollMagic copied to clipboard

Examples updated to gsap 3

Open simobari opened this issue 6 years ago • 2 comments

Hi,

do you have an example of this case using gsap object instead of tweenmax (that was deprecated)?

https://scrollmagic.io/examples/expert/image_sequence.html

Thanks in advance

simobari avatar Mar 30 '20 16:03 simobari

The following should work:

var tween = gsap.to(obj,
  {
    duration: 0.5,
    // ... others options, check gsap v3 doc to see breaking changes

If I am not mistaken, scrollmagic is shipped with gsap v2 via plugins/animation.gsap.js, so do not forget to import gsap v3 in your project.

slecorvaisier avatar May 12 '20 06:05 slecorvaisier

i wanna example with gsap 3 . please add this.

mrlaseptima avatar Oct 11 '20 19:10 mrlaseptima