Chriz Posted February 23, 2020 Share Posted February 23, 2020 Hi! Sorry this for the (sure noob again) question but i try to folow this example to create a parallax effect of a creation i have in mind, but it just normally scrool the page, what am i missing ? ps. i add <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/3.2.0/gsap.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/ScrollMagic.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/ScrollMagic.js'></script> in my index.html but it change nothing See the Pen dBdogo by PointC (@PointC) on CodePen Link to comment Share on other sites More sharing options...
Shrug ¯\_(ツ)_/¯ Posted February 23, 2020 Share Posted February 23, 2020 Please note that ScrollMagic is not a Greensock product, so fulfilling troubleshooting on its usage and performance is not really officially supported here on the GSAP forums. However you have not provided much information, the codepen you posted is "Demo 8: GSAP and Parallax ScrollMagic" from this gracious turorial by @PointC https://greensock.com/scrollmagic/ (hoping to assist in circumventing many of the ScrollMagic questions). Did you fork that pen, if so then whats not working for you? 3 Link to comment Share on other sites More sharing options...
Chriz Posted February 23, 2020 Author Share Posted February 23, 2020 i just reinstall my W10, i've done several privacy tweaks on the other, using OOSU10... then now i can see the animation pretty good ! Link to comment Share on other sites More sharing options...
Shrug ¯\_(ツ)_/¯ Posted February 23, 2020 Share Posted February 23, 2020 That seems pretty extreme but I'm glad you got things sorted. 😀 2 Link to comment Share on other sites More sharing options...
Chriz Posted February 23, 2020 Author Share Posted February 23, 2020 It should be possible to only use Gsap to do a similar parallax effect i think ? Its finally just a different scroll value from background or other elements ... Link to comment Share on other sites More sharing options...
ZachSaucier Posted February 24, 2020 Share Posted February 24, 2020 20 hours ago, Chriz said: It should be possible to only use Gsap to do a similar parallax effect i think ? Its finally just a different scroll value from background or other elements ... It's very possible! We don't recommend using ScrollMagic. This pen shows how to do an animation on scroll with just GSAP. To do a parallax effect you could just make it move in the vertical direction instead: See the Pen dyoOgYj by GreenSock (@GreenSock) on CodePen 2 Link to comment Share on other sites More sharing options...
Chriz Posted February 24, 2020 Author Share Posted February 24, 2020 Many thanks i will inspect this example Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now