Skip to content

About

Roguelike Spacebase RPG based on Shattered Pixel Dungeon.

Topics

Resources

Stars

11 stars

Watchers

2 watching

Forks

Repository files navigation

Pixel Spacebase

Alpha status: Pixel Spacebase is currently alpha software. Core systems, balance, artwork, naming, and save compatibility are still changing while the game is converted from its Pixel Dungeon roots into a spacebase escape roguelike.

This is a fork of Shattered Pixel Dungeon v4.3, based on Pixel Dungeon. I'm new to coding in a statically typed language like Java - this is primarily a hobby/learning project but I hope it might grow into a nice spin on the endless PD forks.

I started out with the original build of PD but ran into unending complications with the random level size generation. Since I decided that I wanted this to be a core feature (but also wanted to get on with my game changes), I opted for Shattered, but I'm not keen on the newer perspective, so forked the previous version with the original graphics.

Still, massive credit to Evan for reworking level generation - I stand on the shoulders of tiny pixel giants.

Current Art

Here is a small selection of current in-game art: the orbital backdrop, the powered-down holodeck, and some of the station's characters.

Planet backdrop
Planet backdrop
Starfield backdrop
Starfield
Powered-down holodeck floor
Powered-down holodeck
Captain character sprite sheet
Captain
Holodeck legionary sprite sheet
Holodeck legionary
Station cat sprite sheet
Station cat

Unused packaged assets are preserved in the v1.0.6 asset archive, with original paths, checksums and audit notes. The archive is kept outside the APK's asset folders.

What's Different?

The aim is to convert Pixel Dungeon into a fully fledged Spacebase Exploration/Escape RPG. The project is playable as an alpha, but expect unfinished content, rough edges, and ongoing balance changes.

Major Changes:

  • 4 new characters
  • Smoother gameplay
  • Item tweaks
  • Level size generation completely random
  • Workshop generation

Changes in progress:

  • Reskin/Names of all textures and sprites
  • Game tweaks
  • Bug fixing
  • Cached auto-aim pathfinding to reduce lag

Changes planned:

The v1.0.6 release record tracks release preparation for Android version 1.0.6 (10006). Open work continues in the v1.0.7 plan. Earlier plans are preserved in the v1.0.5 archive and v1.0.4 archive. Current work is sorted into:

  • Release Stability and Bug Fixes - release shrinking and reported gameplay issues, addressed first.
  • Equipment and Companions - Hoverpod interactions and cat behaviour.
  • Rooms and Artwork - pad interiors, Holodeck walls, jetpack access and sprite mappings.
  • Y Encounters and Narrative - one-time punishment and rare rescue refusal.
  • Decisions and Features to Scope - boss replacement, blind enemy, art overhaul and detector icon assignment.
  • Carried-over In-game Verification - implemented changes awaiting gameplay and visual acceptance.
  • Longer-term Backlog - future paid features and code cleanup.
  • Release Preparation - compatibility, testing, versioning and release packaging.

When adding new work, put rough ideas in Decisions first. Once the direction is chosen, move the item into the relevant work category and keep implementation batches small enough to test and rebuild quickly.

Development Setup

Run scripts/setup.sh to install the Android SDK and NDK and create the required local.properties file. The script assumes a Debian-based system with apt available.

Building and Installing on Android

  1. Build the debug APK using:
    ./gradlew :core:assembleDebug
    The APK will be written to core/build/outputs/apk/debug/core-debug.apk.
  2. Enable Developer Options and USB debugging on your device and connect it via USB.
  3. Install the APK with adb:
    adb install -r core/build/outputs/apk/debug/core-debug.apk
    Alternatively, copy the APK to your phone and open it to sideload (allow "install unknown apps" when prompted).
  4. You can also run ./gradlew :core:installDebug to build and install in one step if a device is connected.

To execute the unit tests locally run:

./gradlew test

macOS

macOS users can run scripts/setup-macos.sh instead. It uses Homebrew to install OpenJDK 17 and downloads the Android SDK and NDK to $HOME/android-sdk. After running the script, build the project with:

./gradlew build

To install the debug build on an emulator or connected device, run:

./gradlew installDebug

Possible Improvements

  • Update the Gradle wrapper or Android Gradle plugin so that the project builds without manual configuration.
  • Provide signing instructions for release builds and additional platform setup notes.

About

Roguelike Spacebase RPG based on Shattered Pixel Dungeon.

Topics

Resources

Stars

11 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages