-
Notifications
You must be signed in to change notification settings - Fork 46
Build Instructions
- netthreads-libgdx
The demos use the netthreads-libgdx library. If you don't have this already you will have to build it and install it into your local maven repository. Just follow the build instructions.
The project is here:
https://github.com/alistairrutherford/netthreads-libgdx
The build instructions are here:
https://github.com/alistairrutherford/netthreads-libgdx/wiki/Build-Instructions
- FixtureAtlas
The box2d-test demo makes use of the FixtureAtlas class from here:
https://code.google.com/p/box2d-editor/
You will need to download the jar from here:
https://code.google.com/p/box2d-editor/downloads/detail?name=libgdx-fixtureatlas-1.0.zip
Then you will need to install it into your local repository
mvn install:install-file -Dfile=fixture-atlas.jar -DgroupId=aurelienribon.fixtureatlas -DartifactId=libgdx-fixtureatlas -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
The demos use the LibGDX maven archetype so you can build the different targets using the instructions here:
https://code.google.com/p/libgdx/wiki/MavenProjectSetup
To build the Eclipse project run the following Maven command in the root of the project:
mvn eclipse:eclipse
You will also have to ensure the M2_REPO class path variable is set in your Eclipse. Go to:
Window->Preferences->Java->Build Path->Classpath Variables
Add M2_REPO. Enter the path to your local repo e.g. c:\Users\Alistair\.m2\repo (for windows, I have no idea what it would be for Mac or Linux).