Historical engine / Java

Lyra

A Java engine for small worlds

A Java applet-era 2D engine with animation, tiling, multidirectional sprites, physics, scene management, audio and GUI widgets.

Lyra — project logo
Original Lyra project mark from the public repository. · View full size ↗ · Source

A reusable engine for small 2D worlds

Lyra is a Java 2D engine built for the applet era. It brings animation, assets, tiles, sprites, camera state, input, audio and interface widgets into one reusable system. The goal was to make game ideas playable while continuing to develop the machinery underneath them.

Its games include an isometric buggy racer, Galaxik’s galactic-conquest setting and Spincycle, a Tetris variant. These give the engine different workloads: navigating a scene, managing a strategic world and handling a compact puzzle-game loop.

What the engine provides

The animation system handles frame sequences and camera-aware rendering. Sprites have 16-direction representations with direction-change blending, selection and highlighting. The physics layer tracks motion, speed and angular velocity and applies friction, thrust, gravity and bounce.

Scene management gathers keyboard and mouse events, maintains the camera and coordinates rendering for tiles, sprites, animations and physics objects. Supporting systems cover cached image and audio assets, TCP/UDP/HTTP networking, plugins and event triggers. GUI components include buttons, lists, text entry, progress bars and other tools needed around the game itself.

A record of the Java browser era

The repository includes subsystem tests and Apache Ant build files for the engine and individual games. Java applets are a historical browser target, so the current value is in the source and design rather than a promise that the original applet can be launched in a modern browser. The 2023 GitHub date records publication of that older work.

Implementation at a glance

  • Includes frame-based animation and 16-direction sprite movement.
  • Provides camera-aware rendering, assets, events and networking utilities.
  • Contains an isometric buggy-racing game, Galaxik and Spincycle.

Applications within the project

Lyra racing

Lyra racing — explanatory diagram
Design schematic of the historical game; not a reconstructed screenshot. · View full size ↗

An isometric tiled buggy-racing game listed in the engine README.

Application source

Galaxik

Galaxik — explanatory diagram
Game-structure illustration based on the historical account, not a screenshot. · View full size ↗

A galactic-conquest game with fleets, planets and technology.

Application source

Spincycle

Spincycle — explanatory diagram
Design schematic of the historical Tetris variant. Exact art and interface are not reconstructed. · View full size ↗

A Tetris variant with additional game objects and mechanics.

Application source

Project status

Historical Java applet software. Source and build files are preserved, but a current browser-playable release is not provided here.