
The Gamelet Toolkit is a powerful, robust, scalable, object oriented framework of classes and interfaces used for developing arcade style video games and entertainment applets. It provides classes for the management of several key functions including sprite animation, display optimization, and scoring.
Because the Gamelet Toolkit is built on object oriented principles, developing fast action gamelets is quick and easy. A simple gamelet needs only to subclass the Actor class for as many Actors desired, and the Gamelet class which defines gamelet behaviour.
Actor objects, which are sprite 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 timed ticks to all the manager objects.
The Gamelet Toolkit distribution contains example source code and documentation
to help get started.
The Gamelet Toolkit distribution is available for developing Java applications, or Java applets. Select one that's easiest for you:
Gamelet Development - Java Applet (within a web browser)
If you wish to mirror this distribution on your site:
You can run the examples here from your browser if it supports the JDK 1.02, but if you are doing gamelet development you'll have to install the Gamelet Toolkit class files locally.
% cp -r GameletToolkit /jdk/lib/classes (on UNIX) C> xcopy GameletToolkit \jdk\lib\classes (on Win32)
% setenv CLASSPATH /jdk/lib/classes:.:$CLASSPATH (on UNIX) C> set CLASSPATH=C:\jdk\lib\classes;.;%CLASSPATH% (on Win32)You'll probably want to put this information in your rc file, autoexec.bat, or registry so that you don't have to type it in every time you restart your computer.

Following are some examples of gamelets written with the Gamelet Toolkit. Although these can be run from any Java 1.1 capable browser, higher frame rates can be achieved by running them with a JIT VM.
Depending on the number of actors and the virtual machine these gamelets are run on, expected maximum frame rate on a Pentium Pro 200MHz, 96MB RAM, running NT can reach 100 frames per second.
The examples are located in the examples directory in the Gamelet Toolkit distribution.
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
The Gamelet Toolkit was inspired by a game engine called Xox which was written under NEXTSTEP (now MacOSX) by Sam Streeper. Many thanks to all others for advice and encouragement.
Mark Tacchi