Jump to content
Search Community

scrollMagic horizontal slide effect with Gsap

Tyra Pululi test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

  • 11 months later...
1 hour ago, ZachSaucier said:

Maybe it'd be better to not use ScrollMagic and just use GSAP instead?

Agreed with this.

However if you're stuck on SM, you can set your panel tweens to move through the entire view port starting and ending at half way, to avoid starting and ending off screen.

Took some sideways thinking to get around some of ScrollMagic's quirks, but:

 

See the Pen NWKMyam?editors=1010 by elegantseagulls (@elegantseagulls) on CodePen

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...