
Version 0.8 - March 31, 1996

Mark Tacchi, mtacchi@NeXT.COM

Kresten Krab Thorup, thorup@powertv.com
The Gamelet Toolkit is a robust, scalable, object oriented framework of classes and interfaces used for developing arcade style video games. It provides classes for the management of several key gaming functions including animation, display, scoring, events, and drag'n drop.
Because the Gamelet Toolkit is built on OO principles, developing fast action games is quick and easy. A simple game needs only to subclass Actor for as many Actors desired, and Gamelet which defines game behaviour.
Actor objects, which are the objects displayable on the screen, require very little programming to get started. The Actors that the developer designs will inherit from the Actor superclass and take on a default behaviour. This behaviour can be modified if the developer chooses to do so.
The main control of the game is centered around an abstract superclass called Gamelet which is subclassed to build game specific behaviour. Gamelet is a subclass of Applet and is responsible for maintaining the main game thread. The Gamelet also acts as a distributor of ticks to all the manager objects.
The Gamelet Toolkit distribution contains example source code to help get started.
NOTE: You must install the Gamelet Toolkit classes before the examples will run! Install everything under the com directory in your classes directory. I've installed mine under
c:\java\lib\classes
You may also need the CLASSPATH environment variable set to something like this:
CLASSPATH=C:\java\lib\classes
The Gamlet Toolkit - A Getting Started page on the Gamelet Toolkit.
com.next.gt - The javadoc generated docs.
Following are some examples of Gamelets written with the Gamelet Toolkit. Although these can be run from any Java capable browser, higher frame rates can be achieved by running it appletviewer. Expected maximum frame rates on a PCI Pentium 100MHz, 32MB RAM are 18 frames per second.
A bunch of bouncy balls. Cool as ice, and easy as pie!
Browser or
cd examples/Boink
appletviewer Boink.html
The arcade classic comes to Java browsers? Not quite. This sweetie has put a gob of candy in space. Modify it as you wish, you now own it!
Browser or
cd examples/Boinkaroids
appletviewer Boinkaroids.html
I sincerely hope that you find the Gamelet Toolkit useful in creating fast action arcade style games. It consumed most of my spare time for about a month and couldn't have done it without my peers. The Gamelet Toolkit was inspired by a game engine called Xox which was written under NEXTSTEP by Sam Streeper. Additional support and think tank time was dedicated by Kresten Thorup. And through the wizardry of graphics artist Tim Wasko, I managed to whip up some pretty cool graphics. Many thanks to all others for advice and encouragement.
- Mark G. Tacchi