GameEngine

Download as .zip Download as .tar.gz View JavaDocs View on GitHub

GameEngine


A simple game engine for 2D games in Swing and AWT. Support for applications running in fullscreen exclusive mode.

All drawing is organized within stages, which provide the basic drawing and buffering capabilities. The individual work is done with the Scene and SceneObject classes.

Basic collision detection (bounding box, alpha collision) is implemented by default.

A timer class (Clock) handles the repaint job, so that you only have to provide the time based paint methods in your SceneObjects.

Several utility classes for loading and displaying images can be used. Sprite and 9patch images are supported.

A basic loading screen and SceneObjects for text drawing(LabelObject), animated text drawing(CachedLabelObject) and sprite rendering(SpriteSceneObject, Sprite2DSceneObject) are ready to use.

Sample programs using this library can be found at:

JellySplush