Javascript Gamelib:
Javascript games programming library
Scott Porter made a popular library for creating Javascript Games, called the Javascript Gamelib. It provided relatively simple routines for animation, sprites, collision detection and control. It meant games programmers could concentrate on designing games for websites instead of spending time rewriting the basic building blocks.
Unfortunately, Scott's site at www.javascript-games.org has been discontinued. I'm making the Javascript Gamelib available here under the terms of the GNU Library General Public Licence, under which Scott released his work.
Javascript Gamelib version 2.10 (updated)
Brent Silby has built upon the official 2.09 version of the Gamelib released by Scott. He says his improvements are:
- properties for sprites such as jumping, falling, fallspeed, etc.
- tile handling for backgrounds and platforms. It's basically the same as the sprite module, but (of course) the tiles are not updated on each cycle to save speed. "This is incomplete but I have used it in my games," he says.
- the old V2.09 gamelib modules have been kept in a separate folder
He's updated the documentation as appropriate. Download Brent's Gamelib.
Related links
- Javascript Games by Sean McManus - these don't use the library, incidentally
- Brent Silby's Javascript Games - Brent's games are a good showcase of the library's power
- More Javascript games links
- Javascript Smart Marketing Toolkit - toolkit I developed for banner ad rotation, cookie handling and responding to the time and date. Intended to enable smarter automated online promotions.



