Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 1.15 KB

building.md

File metadata and controls

74 lines (46 loc) · 1.15 KB

Building Pixel Wheels

The Docker-based build is simpler but the manual build gives you more control.

Docker-based build

Setup

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.

Building

Run the ci/docker-build-game script.

Running the game

cd android/assets
java -jar ../../desktop/build/libs/desktop-1.0.jar

Manual build

Dependencies

Building Pixel Wheels requires the following components:

Python packages

You can install the required Python packages with:

pip3 install -r requirements.txt

Assets

Some assets must be generated from work files with:

make assets

Pack images

Once assets have been generated, you can pack them into atlases with:

make packer

Build the game

Run:

make

You can also build and run it with:

make run