Are there (or can someone recommend) any minimalistic JavaScript based libraries for sprite(s) manipulation? Preferably DOM oriented.
Asked
Active
Viewed 769 times
0
-
Minimalist JavaScript developers don't use libraries. – aaaaaaaaaaaa Aug 10 '11 at 15:58
-
1Are you looking for something like this: http://gamedev.stackexchange.com/questions/4277/what-are-good-js-libraries-for-game-dev-html5 – thedaian Aug 10 '11 at 16:06
-
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? – Adrian Seeley Aug 11 '11 at 21:59
-
@Adrian Seeley: can you share some resources on this topic please? – yojimbo87 Aug 12 '11 at 08:43
-
Google is your friend: http://forrst.com/posts/Javascript_Sprite_Class_animation-0jZ – Adrian Seeley Aug 12 '11 at 20:08
1 Answers
1
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).

igkuk7
- 111
- 1
- 1