Skip to content

ColleBoll/EJGEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EJGEngine

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.

Features

  • Cross-platform support (Windows and macOS)
  • Written in Java
  • Uses LWJGL for graphics and audio

Getting Started

Prerequisites

Installation

Tip

Read the full documentation of the use on the wiki.

  1. Add the EJGEngine dependency to your pom.xml:

    <dependencies>
        <dependency>
            <groupId>org.collebol</groupId>
            <artifactId>EJGEngine</artifactId>
            <version>0.2.0</version>
        </dependency>
    </dependencies>
  2. Reload Maven:

    • Right-click pom.xml > Maven > Reload project

Usage

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() {
        
    }
}

About

A 2D game engine with OpenGL support based on LWJGL.

Resources

License

Stars

Watchers

Forks

Languages