Are there (or can someone recommend) any minimalistic JavaScript based libraries for sprite(s) manipulation? Preferably DOM oriented.

  • \$\begingroup\$ Minimalist JavaScript developers don't use libraries. \$\endgroup\$ – aaaaaaaaaaaa Aug 10 '11 at 15:58
  • 1
    \$\begingroup\$ Are you looking for something like this: gamedev.stackexchange.com/questions/4277/… \$\endgroup\$ – thedaian Aug 10 '11 at 16:06
  • \$\begingroup\$ Any library you use will have slack, to make something minimalistic is to strip it to only the necessary features. Why not just write a simple sprite class? \$\endgroup\$ – Adrian Seeley Aug 11 '11 at 21:59
  • \$\begingroup\$ @Adrian Seeley: can you share some resources on this topic please? \$\endgroup\$ – yojimbo87 Aug 12 '11 at 8:43
  • \$\begingroup\$ Google is your friend: forrst.com/posts/Javascript_Sprite_Class_animation-0jZ \$\endgroup\$ – Adrian Seeley Aug 12 '11 at 20:08

EaselJS does sprite animation with HTML Canvas if that is something you could use. It's not really minimalistic, but does a really good job of handling sprite sheets.

The source is split across multiple files, so with a bit of work you could probably pull apart just the bits to do sprite animation (BitmapSequence).

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.