NLopesx
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by NLopesx
-
-
My code is is the same like before it bugs.
Even if I comment the first block of code, the first (the second before) animation still bugs. Is any bad practice I've been doing? Help me please.
-
13 minutes ago, Cassie said:
I don't see any mention of scrolltrigger in that code you pasted in.
We can usually help more effectively if you provide a minimal demo though, codepen is great for this.
If you haven't used codepen before, here's a post explaining how.See the Pen PopZJwp by NLopesx (@NLopesx) on CodePen
This is my example.
I need a function
(I don't know if it works with a function)that plays the timeline2 at the X scroll position like the first code pen example. -
33 minutes ago, Cassie said:
Hi there!
You're probably looking for scrollTrigger -This is the timeline I created:
let timeline2 = new TimelineMax ();
timeline2
.from ('.grid', 1 , {
opacity: 0,
})
And this is what I need (
See the Pen wvaxKEM by GreenSock (@GreenSock) on CodePen
), but it's not working don't know why.Maybe deprecated or I'm just being a noobie?
-
How to play animation (timeline1 with many .from and .to animations) when appears on screen or in X scroll height?
-
14 minutes ago, Cassie said:
There's a lot going on in this example. Still not really sure what you mean. Sorry.
The animation takes 1 second and only after 1 second I can scroll again.
The scroll gets "disabled" while the animation is going on, don't know how to call it.
If can't help me, thank you a lot.
-
1 hour ago, Cassie said:
I'm really not sure how to answer this or what the question is I'm afraid.
Maybe you're looking for scrolltrigger and pinning sections?
https://greensock.com/docs/v3/Plugins/ScrollTriggerHere's an example.
I can only scroll when the animation is finished. Is this some GSAP tool or something like that?
-
I need to know what tool is this.
Once I scroll the scroll kinda gets disabled till the animation finishes and then I can scroll again.
Low FPS when the first animation plays.
in GSAP
Posted
The JS is basically this. I think the HTML and CSS doesn't matter maybe.