Hi! I need a cool scrolling effect like the one on this page: the-goonies.webflow.io
As you can see, when you scroll, an animation is displayed in the background. I’m using the parallax option (checkbox) on image backgrounds, but how am I supposed to generate the effect of an animation that looks similar to a video that plays back and forth depending on the scrolling position?
The effect I’d like to replicate has been built by a web developer (not using Bubble) and he’s used lottiefiles for the animation. I have the JSON files and I’d like to know if I can turn this into a Bubble effect. The JSON files look like this (this is just an excerpt):
{"v":"5.7.0","fr":60,"ip":0,"op":630,"w":1920,"h":1080,"nm":"Comp 1","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 5","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[960,540,0],"ix":2},...
Note: I’ve also tried the free Lottie plugin, but I can’t control that the animation runs while I scroll and stops when I stop scrolling (there are actions only to start, pause and stop the animation, but not based on the scrolling). If there was a way to detect “when scroll is going down” and “when scroll is paused” and “when scroll is going up”, I could use it I think.
Thank you!