Jump to content
GreenSock

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

ImmediateRender

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi,

 

For a recurring animation I wanted to tween a fromTo-Progress and ran into the 'trap' immediateRender.

So here's an example: when multiple fromTo () - based tweens are animating the same proprets of the same object.

 

See the Pen zLqYqO by mikeK (@mikeK) on CodePen

 

And applied here in a thoroughly funny cartoon for a serious cause:

 

See the Pen bjEdeR by mikeK (@mikeK) on CodePen

 

Kind regards

Mikel

 

 

Link to post
Share on other sites

Hi @mikel :)

 

That looks like the behavior I would expect. Was there a question in there or were you just pointing out the need to use immediateRender:false? I wasn't quite sure. Happy tweening.

 

 

  • Like 2
Link to post
Share on other sites

Hi @PointC,

 

My post is just the happy message that I have solved it.
I was trapped and here I found the solution.

 

Thank you very much
Mikel

  • Like 2
Link to post
Share on other sites

That's what I thought. I just wanted to make sure there wasn't a problem that you needed help with. I'm glad you have it all figured out.

:)

 

Link to post
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.

×