Oleh Koval Posted March 24, 2023 Share Posted March 24, 2023 What is the correct way to resize Flip? See the Pen NWLOqOq by oleh-koval (@oleh-koval) on CodePen 1 Link to comment Share on other sites More sharing options...
Solution GreenSock Posted March 24, 2023 Solution Share Posted March 24, 2023 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? 3 1 Link to comment Share on other sites More sharing options...
momo12 Posted August 15, 2023 Share Posted August 15, 2023 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now