A collection of projects that have been developed while working on hobby game projects based on libGDX. The projects are separated by the library they extend.
Project | Description | Dependencies |
---|---|---|
UpseilGDX-Util | Independent utilites, for example functional interfaces for primitives or formatting utilites. | None |
UpseilGDX-GDX | General libGDX extensions, for example for Scene2D and object pooling and new utilities like serialization with jackson or Base64/LZW encoding. | UpseilGDX-Util, ligGDX-GDX, Jackson Databind |
UpseilGDX-GWT | Extensions for projects targeting web, mainly serializers for gwt-jackson. | UpseilGDX-GDX, gwt-jackson |
UpseilGDX-Artemis | Extensions for projects using artemis-odb as ECS, mainly general purpose systems and special invocation strategies. | UpseilGDX-GDX, artemis-odb |
UpseilGDX-Box2D | Extensions for projects using artemis-odb as ECS and Box2D for physics, mainly a physics system that integrates Box2D in an artemis world and (a more or less profound) fluent builder API for Box2D bodies. | UpseilGDX-GDX, UpseilGDX-Artemis, ligGDX-Box2D |
Projects containing tests also depend on JUnit4 and Java Hamcrest.
These projects are mainly a result from extracting general functionalities from my hobby game projects and are far from finished/solid, nearly undocumented and with very few tests. I'm actively working on every part and breaking changes can happen anytime and anywhere. This is also the reason why the projects aren't on maven or other distribution platforms. If you still want to risk using the extension in your own projects follow these steps (requires gradle as build tool):
- Clone this repository or add it as submodule to your project
- Add
apply from: "<relative path to UpseilGDX>/upseilgdx-import.gradle"
to yoursettings.gradle
(see upseilgdx-import.gradle) - Adjust the top level
build.gradle
file of your project- Specify the necessary version variables (e.g.
gdxTarget
orartemisTarget
) - Specify the relative path to the UpseilGDX location with a variable named
upseilGdxPath
(e.g.../libs/UpseilGDX
) - Add
apply from: "$upseilGdxPath/upseilgdx-setup.gradle"
anywhere after the variable declarations (see upseilgdx-setup.gradle)
- Specify the necessary version variables (e.g.
- Add the corresponding dependencies to your project specific
build.gradle
files (e.g.compile project(":upseilgdx:gdx")
)
See https://github.com/Upseil/Template for a nearly empty example project that is configured with a reference to UpseilGDX. The black gradle magic is done in the subdirectory Game
. If you decide to clone the template or use it as a starting point, don't forget to initialize and update the UpseilGDX submodule (e.g. with git submodule update --init
).
All projects are licensed under the MIT License.