JGame Tutorial

This tutorial presents a number of simple example programs that illustrate the different features of JGame.

Example 1: A minimal program.

Example 2: Game objects.

Example 3: Graphical effects and sounds; the media table.

Example 4: Tiles and collision.

Example 5: User input.

Example 6: Scrolling and wrapping.

Example 7: Game states and timers.

Example 8: Using StdGame.

Example 9: OpenGL-specific features.

Example games

After you're finished with these examples and you want to look at more code, try the example games. In particular: