msx80 / Omicron

a Java Fantasy Console/Game Engine
Apache License 2.0
16 stars 3 forks source link

Omicron

Build Contributors

Omicron is an open source Game Engine for Java based on LibGDX, inspired by Fantasy Consoles. Write your retro games with the simplest possible API and either package it as a cartridge, or include the runtime in your own distribution!

Features:

  1. Super simple API, just a bunch of methods for drawing, playing sound, handling input, etc.
  2. No resource management: just refer to the thing you want to draw or play by it's number.
  3. Work on desktop and android (there's also an experimental libretro core)
  4. Plaform independent API
  5. Customizable resolution and scaling

Feature Demo example

Feature Demo example

A screenshot from the demo

A screenshot from the demo game, Alien Buster

Doors of Doom

A videogame developed with Omicron, Doors of Doom, available on Play Store

How can I try it?

  1. Build the omicron-player project (cd omicron-player\, mvn clean package)
  2. Run the player jar in omicron-assembly/target (java -jar omicron.jar)
  3. Build some cartridges:
  4. cd demo/HelloWorld (or any other demo)
  5. gradlew build
  6. Open the cartridges within the player.

For android:

  1. Go to android folder
  2. Edit omicron.properties to have it point to your cartridge
  3. Run gradlew android:installDebug android:run

The API

Omicron has a minimalistic and self-explanatory API. Take a look at it here for the full API!

Get Started

Take a look at the Hello World example to get a feeling!

Then head to the wiki for some documentation!