Jump to content

Jquery for game development


nefertiti
 Share

Recommended Posts

Hello,

its my first time posting, nice to meet you all.

I was wondering if its worth learning some jquery for game development. I have been learning programming for the last months, - Im still a novice - , and based on the little I know about jquery so far,  I dont know what I could do with it besides using the extend, etc methods to create, extend, etc objects.

Am I missing something ? If you use it to code your games, what do you use Jquery for ?

Thanks you very much .

Link to comment
Share on other sites

Hi, jQuery is a powerful library for DOM manipulation. And if you want to make a game with a lot of HTML elements it is a not bad choise.

But for most games we are using JS canvas libraries or complex game engines.

Link to comment
Share on other sites

In my own game I decided not to use jQuery. Its an android cordova/crosswalk app, so I managed to do everything with pure javascript.

If you could do the same I think it would be better for you.

Although I really like jquery and use it a lot when designing web sites and web apps.

Link to comment
Share on other sites

jQuery is being made redundant by the impending ubiquity of the evergreen browser i.e. very very soon (you might say now) all browsers auto-update so they're always the latest (unless the user explicitly restricts this) which means that cross-browser issues greatly diminish, jQuery's only real strength has always been smoothing cross-browser, without that concern you are best of sticking to 'native' methods, they're faster, they're more consistent and they are better specced. 

jQuery has changed over the years to make itself relevant in a changing browser landscape, but, well, its irrelevant now, it has served its purpose by forcing vendors to address the fragmentation issue. On the real downside: its got terrible performance, awful memory consumption, encourages bad developer practises and masks javascript obscurities that you really should be aware of.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...