Skip to content

SilkyChickn/CoreEngine

Repository files navigation

CoreEngine (Java/LWJGL/OpenGL)

v1.2.0 maven central lwjgl jbullet vecmath license

CoreEngine is a LightWeight Java Game Library (LWJGL) framework. Its a simple to use OpenGL game engine with several features. You can use this engine to create your own games (see license), but it's mostly a support, for people who want to write their own game engine. I would be glad, if someone gets inspired by my implementations.

Getting Started

Installation

CoreEngine is available at maven central repository. So the easiest way ist to add the dependency into the project build file.

Maven

<dependency>
	<groupId>io.github.suuirad</groupId>
	<artifactId>coreengine</artifactId>
	<version>1.1.2</version>
</dependency>

Gradle

compile group: 'io.github.suuirad', name: 'coreengine', version: '1.1.2'

Manual

For manual installation, you can download the jar files here. Just download, what you need (javadoc/sources) and add it to your project.

Simple Game

The following code creates a simple game with an empty scene. If you run this code, you should see a black 800 by 600 pixel sized window.

Game.init(800, 600, "My first CoreEngine Game", Window.Type.WINDOWED, null);

Scene scene = new Scene();
Game.registerScene(scene);

while(Window.keepAlive()){
    Game.tick();
}

Game.exit(0);

Now you are ready to go, to create any game you want!

Links

Example Code: https://github.com/SilkyChickn/CoreEngine/tree/master/examples

JavaDoc: https://silkychickn.github.io/CoreEngine/

Snapshots: https://oss.sonatype.org/content/repositories/snapshots/io/github/suuirad/coreengine/

License

BSD 2-Clause License

Copyright (c) 2019, Suuirad
All rights reserved.