Skip to content

v0.3.0 — Android / touch support

Choose a tag to compare

@missingno7 missingno7 released this 12 Jul 07:45
· 267 commits to main since this release
8d80d9f

Prehistorik 2 native port — v0.3.0: Android / touch support

The VM-less native port now runs on Android phones, and the desktop build continues alongside it. Both are the same backend-agnostic core — Android is just another host (numpy framebuffer out, five input flags in). No game logic changed; the desktop faithful path stays byte-exact.

📱 New: Android (touch)

  • On-screen touch controls — a floating, hidden analog joystick (left) + JUMP / BASH buttons (right). JUMP hard-clears DOWN so a stray crouch can't cancel a jump.
  • Phone-native front end — the press-1/2 menu shows NEW GAME and CONTINUE. CONTINUE is a 2-column BEGINNER (9) / EXPERT (10) checkpoint grid that unlocks as you reach levels and jumps in via the game's own password mechanism.
  • Back button → a PAUSE dialog (Resume / Main menu / Exit); the game freezes while it's open.
  • Immersive, landscape-locked fullscreen.
  • First-run game-data importer — a folder picker (Storage Access Framework) copies your own *.SQZ / *.TRK into the app.

🖥️ Desktop

Unchanged and still included as the Windows build (pre2native-v0.3.0-win64.zip). Also picks up everything since v0.2.5.

⚠️ Bring your own game data

Neither download contains any Prehistorik 2 game files. You need a legally-owned copy (e.g. the GOG release) — the *.SQZ / *.TRK files.

  • Windows — unzip, then either run pre2native.exe --game-root "C:\path\to\Prehistorik 2", or copy the folder's contents into your GOG game folder and run pre2native.exe.
  • Android — install pre2-v0.3.0-arm64-v8a.apk (a debug build — allow "install from unknown sources"; arm64 devices, Android 8+). On first launch, tap to pick the folder holding your *.SQZ / *.TRK files. Building the APK yourself is documented in docs/android.md.

Verification

Byte-exact vs the original on the desktop faithful path; 900 automated tests; the Android build verified on a physical arm64 device. The APK is confirmed to ship zero game-data files.