Can you point me to a good Javascript sprite animation library using the HTML Canvas tag?
A few Google searches only turned up some non-canvas projects. I am looking for something clean and simple.
Thanks.
To import a sprite sheet use File > Import Sprite Sheet option. Then you can select the file to import with an assigned offset x , y and sprite width , height . Padding is available if there are gapes between sprites, and the sheet type will affect the order of the sprites taken in.
A sprite is a 2-dimensional image used in video games or animation. Nearly all of your favorite characters from 2D games are represented with sprites.
Processing is a great visualization / animation framework, who has been recently ported to JavaScript: http://ejohn.org/blog/processingjs/.
Hope that helps :)
There is the cake toolkit as well, although it does provide different functionality (more closely sprite oriented) than processing.js (see @SebaGR's answer).
Unfortunately i don't think either of these libraries really constitutes a sprite library in a useful/complete way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With