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:
|
Helpful book
|
Javascript Programming for the absolute beginner by Andy Harris is a Javascript tutorial that includes a lot of coverage of the Javascript Gamelib.
It includes a step by step guide to building a simple breakout style game, a plane game, a jigsaw game and a racing game. It's a good way to get to grips with the Gamelib, but beginners to Javascript need to make sure they don't confuse core Javascript features with features only available in the Gamelib. By default, my book links help you order the book at Amazon.co.uk. You can also order the book from Amazon.com. |
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.

