jMe3GL2 is a set of classes that can be used to develop a 2D game in jMonkeyEngine3. It is a mapping library for JME3 to Dyn4J.
To use jMe3GL2, prior knowledge of how the jme3(https://jmonkeyengine.org/) graphics engine works, as well as the dyn4J(https://dyn4j.org/)physics engine, is required to create wonderful 2D worlds.
Some features provided by this library:
- Creation of 2D models using a Sprite mesh.
- Integration of the Dyn4J engine through Dyn4jAppState.
- Control to manage 2D animations.
- Support for strongly customized TileMap
- Support for exporting and importing 2D (binary) models.
- Has a built-in debugger.
As mentioned, jMe3GL2 uses Dyn4J as its physics engine. If you are not familiar with this topic, we advise you to check out the following resources:
- Java 11 or higher.
- jMonkeyEngine3 version 3.6.1-stable.
- Dyn4J version 5.0.2
jMe3GL2 can be added as a normal dependency using the stable jar files or using 'JitPack' as follows:
Step 1. Add the JitPack maven repository
maven { url "https://jitpack.io" }
Step 2. Add the necessary dependencies
implementation 'com.github.JNightRide.jMe3GL2:jMe3GL2-core:3.0.0'
implementation 'com.github.JNightRide.jMe3GL2:jMe3GL2-jawt:3.0.0'
implementation 'com.github.JNightRide.jMe3GL2:jMe3GL2-plugins:3.0.0'