Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Releases for gameQuery


gameQuery 0.5.0-beta-3

  • feature: implemented the disabling of collision detection pre-calculation for those who don't need it.
  • feature: added offsetx and offesty in the Animation options. This allow to target a sub-sprite in a larger image.
  • feature: tiles can now be sparse: when a tile in the array has the value 0 it's empty, now indexes starts at 1
  • test: added a test sheet for animations type.
  • test: added new tests for tiles, rotations... + test index
  • refactoring: factored the code for rotation/zoom to reduce repeat
  • refactoring: reorganized the collision so that the code is regrouped in one place + replaced the bounding box by a bounding circle (when a lot of transformations occur)
  • bugfix: Fixed a minor problem using $.extend().

gameQuery 0.4.0-beta-2

0.4.0: Refactoring, sound wrapper and collision for transformed object:

  • feature: Added pluggable audio back-end
  • feature: added many sound functions
  • feature: Collision detection now works for transformed object (except in IE)
  • feature: Added geometry type (only rectangle for now) for collision
  • refactoring: Changed the usage of playground()
  • refactoring: moved Animation to the $.gamequery scope
  • refactoring: moved animations constants to $.gamequery
  • refactoring: default value of "delta" for animation is now 0 (was 32)
  • refactoring: added a callback attribute to the setLoadBar function that allow action to take place given the current progression
  • bugfix: Multi-Animation should now work as expected (thanks Gouaich!)
  • bugfix: The callback for animation is now triggered after the last frame has been played

gameQuery 0.3.0-beta-1

  • feature: multi-animations, an image can now contain more than one animation side by side. You can pass from on to another by passing an integer to the setAnimation function. (see setAnimation documentation for usage)
  • feature: preliminary support for zoom and rotation using css transform. This should work with firefox 3.5, safari 3.1, chrome. A fall back using filter for IE is there. Keep in mind that for now the collision detection won't work properly with transformed element. (see rotate() and scale() documentation for usage)

gameQuery 0.3.0-beta-1

  • feature: multi-animations, an image can now contain more than one animation side by side. You can pass from on to another by passing an integer to the setAnimation function. (see setAnimation documentation for usage)
  • feature: preliminary support for zoom and rotation using css transform. This should work with firefox 3.5, safari 3.1, chrome. A fall back using filter for IE is there. Keep in mind that for now the collision detection won't work properly with transformed element. (see rotate() and scale() documentation for usage)

gameQuery 0.2.7-alpha-4

bugfix: setAnimation can now be called without an animation to remove any animation from the sprite
feature: better sound support (still W.i.P.)
fix: some doc improvement
fix: the collision() function now plays nice with the end() function

gameQuery 0.2.6-alpha-3

Maintenance release:

  • bugfix: animation images were loading as soon as the sprite was added to the playground
  • bugfix: the jQuery css() function hijacking done for collision detection remove the return of any value causing for example MAJOR issues in demo1.
  • change: The position css attribute of the playground may be set to 'relative' by adding 'position: relative' to the options. By default it's still absolute
  • bugfix: Some code cleanup to make packing working again.
  • change: Removed the playground black border that was left from some old debug code. The sprites don't need to have an animation anymore.
  • new feature: Added a simple way to probe the state of the keyboard: when setting the playground specify 'keyTracker: true' and then you can access the state of a key by reading jQuery.gameQuery.keyTracker[keyCode] from anywhere at anytime

gameQuery 0.2.5-alpha-3

Added collision detection and a demoto illustrate how it works!

gameQuery 0.2.0-alpha-2

  • Added an Animation object
  • Removed the removeSprite() and addAnimationToPreload() methodes
  • Now the callback function can return a number instead of a boolean. In this case this number redefine the rate at which the functions is called (in milliseconds)

gameQuery 0.1.2-alpha-1

  • setTimeout() replaced by setInterval(), no more function in the global scope
  • Fixed a big bug where there was no easy way to remove a sprite from the sprite list. This lead to a sort of memory leak where unused sprite where polluting the sprite list. Now the corrected way to remove a sprite is to use the removeSprite() function instead of remove(). The documentation and the example will have to be updated accordingly!

gameQuery 0.1.1-alpha-1

Fixed a bug under ie7

gameQuery 0.1.1-alpha-1

Fixed a small bug under ie7.

gameQuery 0.1.0-alpha-1

This is an alpha version, the functions may change in the release to come and backward compatibility won't be guarantied.

gameQuery 0.1.0-alpha-1

Initial release, proof of concept. Warning: this is still an alpha version of the plugin, the functions may change a lot in the following release!