The Docker-based build is simpler but the manual build gives you more control.
Make sure Docker is setup on your machine.
To run your newly-built game you will at least need a Java Runtime Environment (JRE) installed.
Run the ci/build-docker-image
script.
Run the ci/docker-build-game
script.
cd android/assets
java -jar ../../desktop/build/libs/desktop-1.0.jar
Building Pixel Wheels requires the following components:
- A JDK, version 11
- libgdx: https://libgdx.badlogicgames.com
- ImageMagick: http://imagemagick.org
- GNU Make: http://www.gnu.org/software/make/
- Some Python packages (see
requirements.txt
file)
You can install the required Python packages with:
pip3 install -r requirements.txt
Some assets must be generated from work files with:
make assets
Once assets have been generated, you can pack them into atlases with:
make packer
Run:
make
You can also build and run it with:
make run