Home > Minigames
A guide for absolute beginners can be found here
Guide for programmers
Download zip file: http://www.draknek.org/java/framework/minigames.zip
Extract
The file games.list contains the names of ini files which tell the framework which resources to load.
Each ini file has four sections, and the format is fairly simple:
[Game] Generic Game: MyFirstGame [Images] foo: foo.gif bar: bar.jpg [Animations] a: a-anim.png b: b-anim.png [Sounds] explode: explode.wav implode: implode.wav
"Generic Game" is displayed as the name of the game
"MyFirstGame" is the name of the game class. If it was in the package games, you'd put "games.MyFirstGame".
The resources are just identifiers and the files they point to.
Run the games by running minigames.jar. It will read games.list to find the games.
If you can program already, you can probably ignore example games 1 and 2. They were written with an absolute beginner's tutorial to programming in mind.
Javadoc
You can find the Javadoc for the minigame framework here.
Compiling Java programs on the Learning Grid computers
See here for instructions on compiling Java programs on the Learning Grid computers.
Run javac -classpath minigames.jar File.java to compile classes using the minigame framework.