Toggle navigation
Home
Categories
Discussions
Register
Sign In
Home
›
Development
can we develop component based on gamejquery like this engine:crafty
frompasttofuture
November 2012
edited November 2012
in
Development
can we develop component based on gamejquery like this engine:crafty? if yes, and how to develop? anyone can give a demo,example!
thanks!
Comments
selim
November 2012
gameQuery is itself a plugin for jQuery. The nearest thing you can do to a component is to make another jQuery plugin that requires gameQuery. You can have a look on Github at
https://github.com/onaluf/gameQuery/blob/master/jquery.gamequery.ext.js
that does just that.
It's a component that adds some features for gameQuery. But you could really make any plugin you want that uses the gameQuery API and it will be a component.
There is another special place where you can easily extend gameQuery: sound wrapper as explained here:
http://gamequeryjs.com/documentation/sound-wrapper-api/
Sign In
or
Register
to comment.
Comments
It's a component that adds some features for gameQuery. But you could really make any plugin you want that uses the gameQuery API and it will be a component.
There is another special place where you can easily extend gameQuery: sound wrapper as explained here: http://gamequeryjs.com/documentation/sound-wrapper-api/