Javascript game engine for jQuery

gameQuery is a jQuery plug-in to help make javascript games easier to develop by adding some simple mechanism and commodity. It's still in a early stage of development may change a lot in the versions to come. The project has a Google Code page where the svn repository of the project is hosted and a twitter page where you can follow the progress made on the development on a daily basis.

If you have any comments, bug to report or suggestion you're welcome to send a mail to: gamequery(at)onaluf(dot)org or use the Google Group. You can also leave a comment the gameQuery entry of my blog.

Get the lastest version of gameQuery:

Download gamequery 0.4 now!

Goals and Features

gameQuery tries to:
  • being easy to learn and use
  • stick closely to jQuery philosophy
  • being fast enough on most modern browsers
  • alow a beginer to write a rich 2D game
gameQuery has the folowing features:
  • multi layer-sprites animation
  • sprite hierachy (grouping)
  • collision detection
  • swappable sound support
  • framework to register periodic callback
  • helper to make keybord state pollable
  • free and open source license

What it can do

Sprite made by G.M.Spectre and stage "Walk in the Park" made by Teros (this demo is not playble)
source: .js, .html, .zip

Lastest news (more)

25 December 2010: Brand-new website and 0.4 release.
14 December 2009: Since the answer to the poll were largely in favor of the refactoring I did just that. Those are the changes to come in the next release:
  • Moved Animation to the $ scope. What was new Animation(...) is now new $.gameQuery.Animation(...).
  • Sound interaction are now abstracted to a$.gameQuery.soundWrapper. This is a swapable piece of code that handles sound bind to an custom (HTML5) or existing library (SoundManager, jPlayer).
  • New .playground() behavior, more jQuery-y: you should now write $('mynode').playground({...}) instead of $().playground('mynode', {...})
  • Sprites have now a geometry attribute that describe if there are rectangles or circles. This is used for collision detection. (for now only rectangle are supported)
Those changes are allready in part present in svn if you like to test them. For the rest you can expect a release in the weeks to come.
27 Jully 2009: I'm considering the possibility of breaking the API in some parts and I need you advice about that. Please take some time to answer the poll here.

Last tweets (more)

Social Bookmarking