Jump to content
GreenSock

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

GreenSock or PixiJS

Recommended Posts

Hi Guys,

 

I'm going to start work with game developing with best UI. But i confused which platform is best. because i heard about pixiJs or greensock as well can you please suggest to me which is the best.

 

thanks,

Divyesh Padamani

Link to comment
Share on other sites

It is not really GSAP vs Pixi JS. They work together. Pixi JS will render everything to canvas.

 

GSAP will handle the animation for you. GSAP animates any numerical values of objects so it works with PIXI JS really well. Some of properties of Pixi JS are under multiple objects like, pixiObject.scale.x so pixiPlugin simplifies your syntax.

 

https://greensock.com/docs/Plugins/PixiPlugin

 

There are some other plugins that will make your life easier.

 

https://greensock.com/docs/Plugins/DirectionalRotationPlugin

 

https://greensock.com/docs/Plugins/Physics2DPlugin

 

https://greensock.com/docs/Plugins/PhysicsPropsPlugin

 

Here is basic example of how you can use GSAP to animate PIXI objects. If your confusion was if you should use HTML or Pixi JS then, Pixi JS is ideal for game development.

 

See the Pen vzEQQy?editors=1010 by Sahil89 (@Sahil89) on CodePen

 

 

  • Like 2
Link to comment
Share on other sites

Thanks Sahil,

 

Its really become helpfull to me because i just understand these both are different platform for making animated application?.

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