

To use version control you will need to download and install Git.

Version control is software which helps you manage changes to code. It is optional, but strongly recommended, to use version control to manage your copy of the Shattered Pixel Dungeon codebase. This guide will assume Android Studio is used, but the two programs are very similar. If you prefer Intellij and are certain you do not need Android functionality, you may use that instead. Either software includes all the tools you will need to compile the game.Īndroid Studio is recommended over Intellij as it is required to compile the Android version of the game. (optional) a GitHub account to fork this repository, if you wish to use version controlĭownload and install the latest version of Android Studio (or Intellij).A computer which meets the system requirements for Android Studio or Intellij.To compile Shattered Pixel Dungeon for desktop using this guide you will need:

Performing a full setup is strongly recommended if you wish to make changes to the code beyond very minor personal modifications. gradlew desktop:release to build a release JAR file, which will be placed in /desktop/build/libs.Īny code changes you make will be applied when you newly run or compile the game. gradlew desktop:debug to run the game in debug mode. Open a command prompt from the project's root folder and type.or optionally use version control (see full setup for details).Unzip the downloaded zip to any directory on your computer you like. Copy the code by pressing the 'clone or download' button and then 'Download ZIP'.Ensure a JDK (Java Development Kit) is installed on your computer.If you merely wish to build the game from source, or make small personal changes to the code, then the project can be built with minimal setup:
