Jump to content
Search Community

Fade In and Fade Out while using ScrollMagic

noeyeat 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

ScrollMagic supports horizontal scrolling, you need to set vertical property to false when defining controller.

 

http://scrollmagic.io/examples/basic/going_horizontal.html

 

Take a look at following thread for how you can scroll horizontally using mouse wheel.

 

 

Using ScrollMagic horizontally will let you define your scenes as you want. Take look at other demos in the scrollmagic's examples page, it covers almost all possible scenarios.

  • Like 2
Link to comment
Share on other sites

I'd echo @Sahil's advice about checking out the ScrollMagic demos and creating separate scenes. That being said, you can make it work with one timeline like you have it now. You'd just add your title fade tweens and some position parameter labels. 

 

See the Pen vayLYy by PointC (@PointC) on CodePen

More info about the position parameter:

https://greensock.com/position-parameter

 

Happy tweening.

:)

 

  • Like 2
Link to comment
Share on other sites

15 hours ago, Sahil said:

ScrollMagic supports horizontal scrolling, you need to set vertical property to false when defining controller.

 

http://scrollmagic.io/examples/basic/going_horizontal.html

 

Take a look at following thread for how you can scroll horizontally using mouse wheel.

 

 

Using ScrollMagic horizontally will let you define your scenes as you want. Take look at other demos in the scrollmagic's examples page, it covers almost all possible scenarios.

I will definitely check the examples. Thanks for the advice.

Link to comment
Share on other sites

6 hours ago, PointC said:

I'd echo @Sahil's advice about checking out the ScrollMagic demos and creating separate scenes. That being said, you can make it work with one timeline like you have it now. You'd just add your title fade tweens and some position parameter labels. 

 

See the Pen vayLYy by PointC (@PointC) on CodePen

More info about the position parameter:

https://greensock.com/position-parameter

 

Happy tweening.

:)

 

I will definitely check the examples but your edit is pretty much what I'm trying to achieve. Thank you so much! :)

  • 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...