-1
\$\begingroup\$

I am developing a 2D multiplayer online browsergame.

On the backend I have set up a Node.js server. Everything works perfectly.

On the frontend I will use jQuery and several libs for collision etc. so far.

I will not use canvas, Audio nor massive player numbers.

My question is, what is the best library for 2D animations?

Libs I know: craftyjs

"Animation" means: advanced moving/calculating of elements, keyboard movement, if possible collision detection

\$\endgroup\$
3
  • 1
    \$\begingroup\$ I'm not sure I understand what you're looking for. What was wrong with Crafty? \$\endgroup\$ Mar 3 '13 at 22:08
  • \$\begingroup\$ I am looking for the best one. Libs I have tested are craftyjs, just to let you know. There is nothing wrong with craftyjs. I just want your opinion. Why a downvote? \$\endgroup\$
    – Shlomo
    Mar 4 '13 at 8:43
  • \$\begingroup\$ I would strongly recommend using a Canvas instead of DOM elements. You might initially write more code, but in the long run you will have fewer problems. \$\endgroup\$
    – MarkR
    Mar 4 '13 at 11:53
1
\$\begingroup\$

Since you don't want to use Canvas I would look into Spritely or gameQuery. Note that both are plugins for jquery, which you are already using.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks. Yes I tested gameQuery also, forgot to add it. Will test Spritely. \$\endgroup\$
    – Shlomo
    Mar 4 '13 at 8:43
0
\$\begingroup\$

As an alternative to CraftyJS, consider these possibilities:

Which is "best" is going to take us into a discussion that's outside the scope of GameDev, as well as very subjective and very much dependent on your needs. But the websites for these should give you an idea of their relative features.

\$\endgroup\$
2
  • \$\begingroup\$ Note I will not use canvas; the options you listed are for HTML5 \$\endgroup\$
    – jhocking
    Mar 3 '13 at 23:13
  • \$\begingroup\$ @jhocking oops. I just read the question as JS game framework alternatives. \$\endgroup\$ Mar 3 '13 at 23:51

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