https://github.com/juku/libgdx-2d-engine
A small 2D game engine with many utilities, more like a framework
https://github.com/juku/libgdx-2d-engine
2d-game 2d-game-engine game game-2d game-dev game-develop game-development game-engine java libgdx libgdx-2d-engine libgdx-desktop libgdx-engine libgdx-framework opengl
Last synced: 2 months ago
JSON representation
A small 2D game engine with many utilities, more like a framework
- Host: GitHub
- URL: https://github.com/juku/libgdx-2d-engine
- Owner: JuKu
- License: apache-2.0
- Created: 2019-08-02T20:33:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T15:03:58.000Z (over 4 years ago)
- Last Synced: 2025-01-23T14:32:25.268Z (4 months ago)
- Topics: 2d-game, 2d-game-engine, game, game-2d, game-dev, game-develop, game-development, game-engine, java, libgdx, libgdx-2d-engine, libgdx-desktop, libgdx-engine, libgdx-framework, opengl
- Language: Java
- Size: 844 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libgdx-2d-engine
A small 2D game engine with many utilities, more like a framework
[](https://travis-ci.org/JuKu/libgdx-2d-engine)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)
[](https://sonarcloud.io/dashboard/index/com.jukusoft%3Aengine2d-parent)[](https://sonarcloud.io/dashboard?id=com.jukusoft%3Aengine2d-parent)
# Deployment
Build with `mvn clean install deploy -DperformRelease=true` to use maven-gpg-plugin# Basic Game Config
Set property for DesktopLauncher in pom.xml:
```xml
com.jukusoft.engine2d.desktop.DesktopLauncher```
```xml
org.codehaus.mojo
buildnumber-maven-plugin
1.4
create
true
false
false
7
org.apache.maven.plugins
maven-jar-plugin
3.0.2
true
lib/
${mainClass}
true
true
splash_screen.png
${maven.build.timestamp}${buildNumber}-${scmBranch}
```Next you have to create an `BaseGameFactory` implementation, e.q.:
```java
public class TestBaseGameFactory implements BaseGameFactory {@Override
public BaseGame createGame() {
return new BaseGame(TestBaseGameFactory.class) {
@Override
protected void addSubSystems(SubSystemManager manager) {
//
}
};
}}
```Then you have to register this factory implementation via SPI.\
Create an directory "META-INF/services" in resources directory (e.q. src/main/resources/META-INF/service) and create a new file with the exact file name "com.jukusoft.engine2d.applayer.BaseGameFactory" (without extra extension) there.\
File content should be your package and class name of your factory implementation, e.q.:
```java
com.jukusoft.engine2d.test.desktop.TestBaseGameFactory
```