SilenceEngine - A 2D/3D Game Engine

https://camo.githubusercontent.com/7a985094d657694c327e7d9dfea1bee7d7ca2aac/687474703a2f2f676f6861727368612e636f6d2f696d616765732f73696c656e6365656e67696e652e706e67

A 2D/3D Game Engine written on top of LWJGL3

[h1]What is SilenceEngine?[/h1]
SilenceEngine is a 2D/3D game engine that takes care of low level aspects of game development like graphics, input handling, asset loading and collision detection for you, meaning you only need to make your game. It lets you focus on the game play and game design, by doing most of the hard work for you.

[h1]Features[/h1]
The main feature of SilenceEngine is it’s simplicity, and it greatly reduces the amount of code you need to write by taking care of almost everything automatically for you. Though it is meant to take care of everything automatically, it is also completely customizable. Here are a list of features of it.

  • State Based Games:

SilenceEngine supports separating the game logic into different states, like intro state, story state, play state, high score state, game over state, and any other state that you are going to create. This allows you to keep stuff separate and your code base clean and easy to read.

  • Module Based Engine:

SilenceEngine is based on different modules, it is a collection of modules called as engines. There are core engine, audio engine, graphics engine, input engine, and collision engine, and all these engines make up the SilenceEngine. It is up to you on how you use it, you can use all these as a whole, or you could use each of them separately. Either way, they work.

  • Completely Customizable:

SilenceEngine is designed to be completely customizable. You can change everything from the ResourceLoader to the Game Loop, and you can also change the entity parameters. It is totally flexible and also easy to use. It is finally up to you whether you want to extend the components, or to re-implement them in your way.

  • Automatic Collision Detection:

SilenceEngine features with automatic collision detection. All you need to do is give your entities a collision shape, and register the classes in the collider, and the collisions, along with collision response is done for you, in both 2D and 3D. The CollisionEngine uses SAT (Separating Axis Theorem) to determine collisions, and hence you get your collision response with good accuracy.

  • Object Oriented Wrappers for OpenGL and OpenAL:

If you think that all the above features are not useful for you, and you want more performance and you love going low level, SilenceEngine provides object oriented wrapper classes for OpenGL and OpenAL. It is up to you how to use them, and other parts of the SilenceEngine cooperates with you.

The above list is only half what SilenceEngine offers to you. It is currently in heavy development, and more features are yet to arrive. In the meanwhile, take a look at the source code, and the example games to get an idea of how to use this engine.

[h1]Is it only for games?[/h1]
Perhaps not, you can create any form of OpenGL application using SilenceEngine. It provides you with OpenGL classes in the com.shc.silenceengine.graphics.opengl package, which cleanly wraps the OpenGL functions into Java classes, making them more easy to use. All you have to take care of is that you must call the dispose() on those objects when you no longer need them.

It is also easier to use in development mode as we will check for OpenGL errors after every call to the OpenGL functions and report you the errors, if any exist, in the form of GLException allowing you to get rid of the errors quickly and easily. By the way, everything in SilenceEngine is modern, and there is no deprecated stuff. I’m proud to say that this engine only uses OpenGL 3.3 (no deprecated OpenGL).

[h1]Licence[/h1]

[]This is licenced under MIT licence, which you can find here.
[
]This game engine uses JOrbis library from JCraft which are licenced under LGPL.
[]This game engine uses J-Ogg library from j-ogg.de on a free permissive licence.
[
]This game engine is written on top of LWJGL 3. You can find it’s licence here.

[h1]Links[/h1]

[]SilenceEngine website (http://silenceengine.goharsha.com/)
[
]SilenceEngine forum (http://silenceengine.goharsha.com/forum/)
[]SilenceEngine JavaDocs (Less updated) (http://silenceengine.goharsha.com/javadoc/)
[
]ScorpionHunter (SilenceEngine 2D Demo Game) (https://github.com/sriharshachilakapati/ScorpionHunter/)
[]Blox (Incomplete, SilenceEngine 3D Demo Game) (https://github.com/sriharshachilakapati/Blox/)
[
]GitHub Repository (https://github.com/sriharshachilakapati/SilenceEngine/)