Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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

share|improve this question
    
Minimalist JavaScript developers don't use libraries. –  eBusiness Aug 10 '11 at 15:58
1  
Are you looking for something like this: gamedev.stackexchange.com/questions/4277/… –  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 8:43
    
Google is your friend: forrst.com/posts/Javascript_Sprite_Class_animation-0jZ –  Adrian Seeley Aug 12 '11 at 20:08

1 Answer 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).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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