World3D is a java game engine based on the LWJGL game library. It provides simple functionality for rendering, input, audio and events.
For any problems or questions, contact Abitofevrything#1422 on Discord or submit an issue / pull request on github.
The main class for interacting with the engine is me.abitofevrything.world3d.World3D
.
Calling World3D.init()
will start the engine, and calling World3D.update()
will update and close the engine if necessary.
Please note that World3D.exit()
will terminate the process if the user requests it, so any cleanup code should be implemented as such :
new GameCloseEventListener() {
@Override
public void onEvent(GameCloseEvent event) {
//Code to run here
}
}.listen();
THe above code will be run when the user requests an engine close.