Jump to content
GreenSock

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

modifiers and pixi plugin

Recommended Posts

Hey benoit. No, nested plugins are not supported. What's your end goal? Perhaps we can help you structure things in a nice way.

Link to comment
Share on other sites

Maybe MotionPath & Pixi (I remember a codepen by Osublake).

Link to comment
Share on other sites

I think you're thinking of this thread?

 

You can use modifiers with Pixi, just not the PixiPlugin. Does that make sense? 

 

But you may not need the modifiers plugin. If you describe your goal perhaps we can point you in the right direction.

  • Like 1
Link to comment
Share on other sites

If you need to animate x and y, you really don't need to use pixi plugin. x and y are properties of the display object. The plugin helps out for stuff like scale.

 

tl.to(part,{
  pixi:{
    scale:0.5
  },      
  duration: 4,
  x: 500,
  y: 500,
  modifiers:{
    x:function(x){return 0; } // for test :D 
  }
});

 

  • Like 4
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.
×