EJGEngine is an ambitious, in-development game engine written entirely in Java. While still in its early stages, the goal of EJGEngine is to become a powerful and user-friendly platform that enables anyone — from beginners with minimal programming experience to seasoned developers — to create 2D games quickly and efficiently.
- Cross-platform support (Windows and macOS)
- Written in Java
- Uses LWJGL for graphics and audio
- Java 17 or higher: Download from Oracle
- Maven: Download from Apache
- IntelliJ IDEA (recommended) or another IDE
Tip
Read the full documentation of the use on the wiki.
-
Add the EJGEngine dependency to your
pom.xml
:<dependencies> <dependency> <groupId>org.collebol</groupId> <artifactId>EJGEngine</artifactId> <version>0.2.0</version> </dependency> </dependencies>
-
Reload Maven:
- Right-click
pom.xml
> Maven > Reload project
- Right-click
Create a new Java class that extends EJGEngine
and override the necessary methods:
public class Main extends EJGEngine {
public static void main(String[] args) {
Main myGame = new Main();
myGame.start();
}
@Override
public void setup() {
}
@Override
public void register() {
}
@Override
public void enable() {
}
@Override
public void disable() {
}
}