This article is about the game framework. For other uses, see the Pixel (disambiguation).
Pixel is the advanced game library (API) offering a streamlined interface for game development, which Open Eggbert is built on.
It is designed with flexibility and future expandability in mind.
API
Pixel is set of Java interfaces and several classes.
To use the Pixel Game Library, you have to use a backend (or create a new one), which implements these interfaces.
Key Features
Defined Interface
Offers a consistent and clear interface for game development, simplifying transitions between various implementations.
LibGDX Integration
Originally based on LibGDX, the library allows seamless integration while offering a simplified approach.
Flexible and Future-Ready
Built to be flexible, Pixel Game Library supports future integration with other game libraries and frameworks beyond LibGDX.
Backends
Note: This table was taken from: https://issues.openeggbert.com
Now it is worked on the LibGDX backends.
Other backends are planned to be implemented in the future.
Pixel Backend Android: | Backend for the Android operating system (alternative to LibGDX) |
---|---|
Pixel Backend Android Canvas: | Drawing graphics on Android Canvas |
Pixel Backend Android OpenGL: | Pixel Backend Android OpenGL |
Pixel Backend Android Vulkan: | Drawing graphics via Vulkan on Android operating system |
Pixel Backend Desktop: | Backend for the Desktop (Windows, Linux, MacOS) (alternative to LibGDX) |
Pixel Backend Desktop Canvas Java2D: | Drawing graphics on Java2D canvas |
Pixel Backend Desktop Canvas JavaFX: | Drawing graphics on JavaFX Canvas |
Pixel Backend Desktop Lwjgl OpenGL: | Pixel Backend Desktop Lwjgl OpenGL |
Pixel Backend Desktop Lwjgl Vulkan: | Drawing graphics via Lwjgl Vulkan |
Pixel Backend LibGDX: | Pixel Backend LibGDX |
Pixel Backend LibGDX Android: | Pixel Backend LibGDX Android |
Pixel Backend LibGDX GWT: | Pixel Backend LibGDX GWT |
Pixel Backend LibGDX Lwjgl3: | Pixel Backend LibGDX Lwjgl3 |
Pixel Backend Web: | Backend for the web (alternative to LibGDX) |
Pixel Backend Web Canvas: | Drawing graphics on Canvas in the web browser |
Pixel Backend Web GWT: | Pixel Backend Web GWT |
Pixel Backend Web TeaVM: | Pixel Backend Web TeaVM |
Pixel Backend Web WebGL: | Pixel Backend Web WebGL |
Pixel Backend Web WebGPU: | Drawing graphics via WebGPU in the web browser |
Scene 2D
Scene 2D features are located in the package com.pixelgamelibrary.api.scene2d.
Pixel Scene 2D is inspired by LibGDX Scene 2D.
How to build
./gradlew clean build publishToMavenLocal