Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
lynette

duration timing

Recommended Posts

I would like to know how can I make an animation appear longer? I want it to 

 

EG:

var tl = new TimelineMax({repeat:2})
        
        tl.from($line1, 1, {opacity:0},"+=1.75")
          .to($line1, 1.5, {opacity:0},"+=0.25")
          .from($line2, 1.5, {opacity:0}, "+=1.15")
          .to($line2, 1, {opacity:0})
          .from($line3, 4, {opacity:0}, "go-=0.35")
          .from($line4, 4, {opacity:0}, "go-=0.35")
          .from($btn, 4, {opacity:0}, "go-=0.35")

 

i changed 4 to 0.5 but then how do I make it appear longer ?

 

What happens as well, I have the gif image loop 3 and the copy text repeat 2. On the last repeat the copy seems to overlap the image.

 

 

 

Can anyone help?

Link to comment
Share on other sites

Hi,

 

It would really help to see a little demo.

I don't understand what the gif image loop is or copy text.

 

If you could make a reduced test case in codepen: http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/ that would be great.

We don't need to see your real assets or the full project. Just some text and colored divs will be fine.

 

In the meantime you can try setting the timeScale() of the timeline to slow down the entire animation like

tl.timeScale(0.5) // half speed
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.
×