onaluf / gameQuery

a javascript game engine with jQuery
http://gamequeryjs.com
633 stars 161 forks source link

Problem getting started #4

Closed hososugi closed 13 years ago

hososugi commented 13 years ago

I'm not a total newb, but I'm new to Javascript libraries. I am trying to follow the beginning tutorial on the website, which says all I need is gameQuery, but it does nothing. I get an error saying "$ is not defined". I even tried downloading the zip file of a completed example and it shows up, but when I click start it does nothing. I can figure out what's wrong. I know my server supports Javascript... what server wouldn't? Any ideas?

onaluf commented 13 years ago

If $ is not define it means that jQuery isn't linked before gamequery. jQuery is the only dependency for gameQuery.

For the zip file look at the iframe.html file... you'll see that it expect a "jquery.gamequery.js" and "jquery.js" file one level above the location of the HTML file. You can place those at there or simply change the content of the Githubissues.

  • Githubissues is a development platform for aggregating issues.