Jump to content
Search Community

Physics2DPlugin v3 GASP v2 GASP

ipaulsen test
Moderator Tag

Recommended Posts

Here is my pen. I think I am loading the correct files? I have placed v3 on my site...
but on that same pen when I swap out the file with 
it works.
 
Just click on the crown to see the difference on the Pen.
 
Thanks for the help in advance!
Is there any way I can download older versions of the plugins?
 

Screen Shot 2019-11-22 at 6.10.28 PM.png

Screen Shot 2019-11-22 at 6.10.06 PM.png

See the Pen VwwROLR by ipaulsen (@ipaulsen) on CodePen

Link to comment
Share on other sites

Yep, you were loading a v3 plugin and a really old v1 core TweenMax file instead of the updated v3 core GSAP file (there’s no more TweenMax, TweenLite, TimelineLite, or TimelineMax - they’re all consolidated into a single, simple “gsap” object). 

 

Here’s a fork: 

See the Pen f81a19baf3aa069f90b58993a2509028 by GreenSock (@GreenSock) on CodePen

 

Better? 

 

You might want to read through the release notes at

To be clear, the “latest” directory on the CDN is actually super old (ironically). CDNJS refused to support that years ago, locking it in place so it’ll never be updated again. Confusing, I know. Just stick with the real version numbers. 

 

Happy tweening!

  • Like 1
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.
×
×
  • Create New...