Jump to content
Search Community

Leaderboard

Popular Content

Showing content with the highest reputation on 06/09/2024 in all areas

  1. Glad to hear @mvaneijgen's solution worked for you. There's absolutely nothing wrong with it. Here is an alternate solution that isn't any better or worse but it's what I usually reach for. I was already working on it so figured I'd post anyway. The basic idea is that you create a function that creates a tween that contains an onComplete that calls the function again at a random interval https://codepen.io/snorkltv/pen/xxNLbwa?editors=0010 Going one step further you could tell the function which element to drop and now you have multiple elements following the same procedure https://codepen.io/snorkltv/pen/KKLvwMq?editors=1010
    1 point
  2. Hi, Honestly I can't tell exactly what's the issue in your codepen. My best guess is that somehow your CSS is getting in the way (soto speak). I created a fork of the link I provided yesterday with images and it seems to work as expected: https://codepen.io/GreenSock/pen/zYLQyzQ Hopefully this helps. Let us know if you have more questions. Happy Tweening!
    1 point
×
×
  • Create New...