How to take advantage of jsfiddle with gameQuery
  • I am new to both gameQuery and jsfiddle.  Can anyone point me in the right direction with the steps that are needed, from start to finish, in loading a gameQuery demo on jsFiddle?  Just one time, this way I can pick up an understanding.

    Thanks!
  • selimselim
    Accepted Answer
    I'll try:
    1. In jsFiddle's "Choose Framework" tab choose jQuery instead of mootools (pick 1.7.2 since 1.8 hasn't been tested with gQ 0.7 yet)
    2. In the "Add resources" tab add gameQuery (for example http://cdn.gamequeryjs.com/jquery.gamequery.js)
    3. In the HTML frame copy the content of the body tag of the iframe.html file of the demo.
    4. In the javascript frame copy the content of the .js file of the demo.


    This should be enough, though for demo 2 (collision demo) you will have some problems since it uses sound and that this requires some more js files.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!