-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\$ Commented Mar 3, 2013 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\$ Commented Mar 4, 2013 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\$ Commented Mar 4, 2013 at 11:53

2 Answers 2

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\$ Commented Mar 4, 2013 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\$ Commented Mar 3, 2013 at 23:13
  • \$\begingroup\$ @jhocking oops. I just read the question as JS game framework alternatives. \$\endgroup\$ Commented Mar 3, 2013 at 23:51

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.