Jump to content
GreenSock

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

spritesheet based animation & timelines

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello everybody,

 

First if all, thanks for the amazing animation library! 

GSAP finally made me switch from actionscript to js (:

I want to share a trick how to easily integrate spritesheets into timelines and also have the ability to reuse the sprites on the spritesheet.

 

The page also contains a few codepen links.


 

Hopefully this method will be useful to somebody & perhaps somebody will improve this method (:

  • Like 2
Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.

 

Thanks for sharing your work, I'm pretty sure it'll come in handy to other users.

 

Also I don't know if you have checked PixiJS, you can get an awesome performance due to the fact that uses WebGL as render engine or canvas if the browser doesn't support WebGL.

 

Happy Tweening!!

  • Like 1
Link to comment
Share on other sites

wow, didn't know about Pixi.js, thanks!

Link to comment
Share on other sites

Hi zzzndr,

 

Thanks for sharing your article. Really nice stuff. I'm  a big fan of boxy. Keep up the great work!

 

Carl

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