Fun Javascript Games: Part 2
Redline
Vertigo-projects have a new and amazing racing game powered byjQuery and using the GameQuery plugin. The game itself is about one thousand lines of code, but you will need some practice to not shift too early or to avoid crashing. It’s interesting to see the level of applications that we can build today using modern javascript libraries such as jQuery. The design is pretty attractive to run a level or two, have a look and enjoy the race http://www.vertigo-project.com/projects/redline-game.
Digg Attack
Fun news for a Friday. From Jacob Seidelin–the dude behind JavaScript Super Mario Brothers–comes Digg Attack, an original JavaScript game using <g;canvas> for visuals (and Flash for music). As an added twist, the game uses Digg to provide a sort of unique twist; enemies in the game are based on stories in the Digg API feed and their ratings.
[Ajaxian]
Pacman
I got to play an old school, sit down, Pacman at Google Developer Day, London, so it only seems appropriate to keep playing it thanks to Harry Guillermo and his new Pacman port to JavaScript.
[Ajaxian]
Pacman (YUI-based)
Kris Cieslak is back, after a long break, with a new YUI-based game: Pacman. We last heard from Kris about 18 months ago, when he was showing off Yetris, Puzzle andSolitaire. Now Kris returns with another classic game built entirely in JavaScript, bolstered by YUI 2.5.2’s core (Yahoo, Dom and Event). Check it out and give Kris feedback on his blog.
[YUI Blog]
Invaders From Mars
As a follow-up to our recent posting of a JavaScript Pac-Man clone, we bring you a JavaScript Space Invaders clone: Invaders from Mars. Only this time, in addition to a link to the game itself, we’ve got a link to the author’s blog (one Mark Wilcox) in which he goes into detail on the various design issues he faced whilst creating his game and discusses the lower-level framework he created to drive his game.
Invaders from Mars does it old-school, as did the Pac-Man clone: divs and images, baby. Performance is pretty good, but I can’t wait to see people realize that if they go with <canvas>, they can really do some interesting stuff. What do you think on the Canvas vs. DOM rendering model for games, etc.?
[Ajaxian]
Bomberman
Munteanu Gabriel has created today’s Friday JavaScript game. It is an old favourite…. Bomberman. Munteanu has released the code as an open source project, and you can get going to bomb away now.
[Ajaxian]
Super Mario Kart
If you like this post, please buy me a coffee.Seems I just can’t let go of Mario. This is a prototype of a Javascript Mario Kart-like racing game.
It uses the canvas element to do most of the rendering and should work in both FF2, FF3, Opera(9.27 and 9.5) and Safari 3.1+. There are a few glitches in Safari (at least in 3.1.1) in the kart sprites, but other than that it should be playable. I haven’t even considered getting IE support, sorry. There’s just no way.
The (minified) code weighs in at about 11 Kb, but unlike the Mario game from last month, this one uses several external image files. This was more a test of how smooth I could get a game like this to feel, anyway, so filesize wasn’t an issue. I think it runs pretty ok, though.