Skip to content

Java game engine with wide support for isometric perspective as well as plain 2D.

Notifications You must be signed in to change notification settings

WalkingBread/aurora-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aurora Engine

Java game engine with wide support for isometric perspective as well as plain 2D.

Purpose

The goal of this project is to provide a straightforward and begginer-friendly environment for creating games in Java with huge inpact on isometric perspective support. It aims to spare you as much effort as possible in setting up an isometric game, but also leaves a lot of flexibility in the design itself.

Getting started

To set up your window with running game loop all you need to do is:

public static void main(String[] args) {
 
       Window window = new Window();
       window.setTitle("test");
       window.setSize(400, 400);

       GameConfig config = new GameConfig();
       config.fps(60);
       config.tps(60);

       Game.init(window, config);

       GameEventHandler handler = new GameEventHandler() {
           @Override
           public void onTick() {
               // executed every update
           }

           @Override
           public void onFrame(Painter painter) {
               // executed every frame
               // space for drawing 
           }

           @Override
           public void onStart() {
               // executed at game loop start
           }

           @Override
           public void onClose() {
               // executed at game termination
           }
       };
    
       Game.addGameEventHandler(handler);
       Game.start();
}

About

Java game engine with wide support for isometric perspective as well as plain 2D.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages