Jump to content
Search Community

GO4ITJB

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by GO4ITJB

  1. Hi, First time posting so obviously BIG time noob :)

     

    I have this timeline and I am wondering after the cans fade in on the screen, how would you make them loop over and over after they all go through on cycle.

    Right now they stop after the cycle finishes. I tried with the repeat -1 but then the fade in on screen happens again and I don't want that part only where the cans keep cycling through over and over and over and over and over and over *inhales big chunk of air* and over and over and over......

     

    I am using TimelineMax and TweenMax

     

    Thanks :) 

     

     

    tl.fromTo(cans, 0.7, {x: '300%'}, {x: '-50%'})
    .fromTo(cans[0], 1, {opacity: 1}, {opacity: 1})
    .fromTo(cans[1], 1, {opacity: 0}, {opacity: 1})
    .fromTo(cans[2], 1, {opacity: 0}, {opacity: 1})

    See the Pen jOrXZoO by go4itjb (@go4itjb) on CodePen

×
×
  • Create New...