‹ Bad Recruiter Email of the Day: Posted in the Google •
One of my goals in the new year is to create some kind of simple online game in JavaScript. I’m almost at a point where I have free time, which is so awesome.
Also, I’m learning some of the libraries and frameworks for JavaScript—to that end I’m experimenting with some of the frameworks—this weekend it was jQuery—and I managed to rough a simple “the objects run away from your mouse” exercise.
jQuery is really powerful. It also seems to be really heavy as a download, and I’ve not tweaked that, but the syntax is just “pretty”—I was IMing a bud about the syntax and he found it ugly as sin, but I think it’s really beautiful.
So at http://joecrawford.com/ there’s a simple little exercise. Everything is in the source for the page, only jQuery itself is in a separate file.
Comments, suggestions, ideas about making games in JavaScript, about jQuery, about thinking about game programming are welcome.
Tags: games, programming, webdev

3 comments
Comments feed for this article
Trackback link
http://artlung.com/blog/2007/11/19/playing-with-jquery/trackback/
November 28, 2007 at 8:26 am
Pingback from ArtLung Blog » Sheepies in the Vast Gray Field
November 19, 2007 at 1:52 pm
MAS
It was kind of fun pushing those boxes around. Make the boxes sheep, the mouse a dog and add some gates and you got yourself a barnyard game.
November 19, 2007 at 2:49 pm
Joe Crawford
hmm. obstacles sounds like a good idea. i need to learn how to test for collisions and route around objects.
i like the sheep idea. someone else said mice and a cat. i like both. maybe a button to theme the objects either way. :-)