Reputation: 386
Pixi’s is an extremely fast 2D sprite rendering engine and Greensock is an animation javascript library.
Has anyone used this before? If so would it integrate with GreenSock?
Upvotes: 1
Views: 1139
Reputation: 2970
Actually, there's an official plugin from GSAP that makes it much easier to work with Pixi: https://greensock.com/docs/Plugins/PixiPlugin
There are some demos in the docs. And yes, lots of people use GSAP with Pixi.
I wouldn't really recommend that other (unofficial) plugin that was mentioned in the previous post because it doesn't handle overwriting quite right, and it's not as full-featured.
Happy tweening!
Upvotes: 3
Reputation: 1217
There a library available for integrating gsap into pixi.
var sprite = new PIXI.Sprite(texture);
TweenLite.set(sprite, { pixi: {
//set property
}});
TweenLite.to(sprite);
Upvotes: 1