Jump to content
Search Community

modifiers and pixi plugin

benoit test
Moderator Tag

Recommended Posts

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