Jump to content
GreenSock

Oleh Koval

Flip & Resize

Moderator Tag
Go to solution Solved by GreenSock,

Recommended Posts

  • Solution

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 3
  • Thanks 1
Link to comment
Share on other sites

  • 4 months later...
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

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