Jump to content
Search Community

spritesheet based animation & timelines

zzzndr test
Moderator Tag

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

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