Skip to content
Zachary Perlmutter edited this page Nov 1, 2022 · 4 revisions

Scroll of Debug is an easy-to-implement extension to Shattered Pixel Dungeon that can make debugging drastically easier.

Implementing into your project

By merging

The two implementations are based on Shattered v1.0 and Shattered v1.2. When pulling into your repository, you should import the newest version that is already implemented by your project --- that is, if your code doesn't contain commits from Shattered v1.2 and up, then you should pull the older implementation.

The only difference between the implementations are those due to code changes made by Shattered Pixel Dungeon in those releases. There is no difference in functionality of Scroll of Debug itself.

PC-only

The PC-only branches neglect android support, but in exchange their footprint in the code is practically non-existent. The only change to actual Shattered code is a singular change in GameScene.java, which adds the Scroll of Debug.

APK Support

Android support can be provided by pulling in the corresponding branch. It is much more invasive, requiring changes in the SPD-Classes and android modules.

APK support can be added effortlessly to an existing PC-only implementation of ScrollOfDebug by simply merging the corresponding branch into your project.

Subtrees

The master branch can be directly pulled into an implementing repository if the offset is core/src/main/java/com/zrp200/scrollofdebug/.

Clone this wiki locally