Discussions
Activity
Sign In
Support
How to take advantage of jsfiddle with gameQuery
blackhawx
August 15
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!
selim
August 15
Accepted Answer
I'll try:
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)
In the "Add resources" tab add gameQuery (for example
http://cdn.gamequeryjs.com/jquery.gamequery.js
)
In the HTML frame copy the content of the
body
tag of the iframe.html file of the demo.
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.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
81
Announcements
4
Support
64
Development
10
Your games
3
Powered by Vanilla