Jump to content
Search Community

Flip & Resize

Oleh Koval

Go to solution Solved by GreenSock,

Recommended Posts

  • Solution
Posted

The problem is that you're just creating that Flip tween once and baking all the values into that, but if your screen resizes you need those values to get updated. Here's one way you could do it: 

See the Pen bGxOjeP?editors=0010 by GreenSock (@GreenSock) on CodePen.

 

Is that what you were looking for? 

  • Like 4
  • Thanks 1
  • 4 months later...
Posted
On 3/24/2023 at 9:39 PM, GreenSock said:

The problem is that you're just creating that Flip tween once and baking all the values into that, but if your screen resizes you need those values to get updated. Here's one way you could do it: 

 

 

 

Is that what you were looking for? 

Great

  • 1 year later...
Posted
On 3/24/2023 at 10:39 PM, GreenSock said:

The problem is that you're just creating that Flip tween once and baking all the values into that, but if your screen resizes you need those values to get updated. Here's one way you could do it: 

 

 

 

Is that what you were looking for? 

Thanks! It helped me a lot!!!

  • Like 1

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...