Jump to content
Search Community

Start and repeat timeline X seconds in, repeat X seconds before end

tin_soldier test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

I'm attempting to make a seamless loop out of a timeline where there is a sequence of images stacking on top of each other and scaling.

My thinking is to repeat the last image and start the timeline at 1.3 seconds then set it to repeat 1.3 seconds early which is a good point to be able to loop.

 

I've tried

mainTimeline.time(1.3);

and

repeatDelay: -1.3,

but can't get either of these to work how I'd like. The negative repeatDelay seems to alter the length of the timeline and I don't know how to apply the time(1.3) to each repeat.

Any help appreciated.
 

See the Pen KKEyQZJ by 1976ltd (@1976ltd) on CodePen

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...