javaScript Framework most important features?

Hey all,
I’m currently writing a 2d framework in javascript which should handle most of the repetetive stuff, that comes up.
I was wondering what would you regard as the most importantor most helpful feature?
Also I’m kind of obsessed with physics, but there is already a pretty good solution in the form of box2djs. Whats your suggestion? Should I implement my own physics or roll with box2d?
Thanks

Tags: framework javascript physics features box2d

Comments

06. Apr 2011 · 05:09 UTC
The most important thing for me with libraries is APIs.
06. Apr 2011 · 13:18 UTC
Well.
06. Apr 2011 · 22:17 UTC
Parallel processing with web workers would be awesome :)
machinas
07. Apr 2011 · 04:12 UTC
if you’re going to do image loading, i recommend an image pre-loader of some sort (particularly if using canvas). some kind of wrapper on canvas drawing is useful.
Balooga03
07. Apr 2011 · 12:41 UTC
Thanks for the comments so far.

@machinas

I have Image preloading and input nailed, sound preloading works good on firefox and chrome, but has no multichannel support yet. The code is nice but i didnt find any sound