Skip to content

deckarep/Johnny-Castaway-2026-Public

Repository files navigation

Johnny Castaway - 2026 Edition

Johnny Castaway 2026 Edition is a Go/Raylib port of jc_reborn. Without this version, this ported version would not exist so I want to give credit where credit is due.

How it's built

  • Written in 100% Go - easy to cross-compile to different platforms
  • Uses Raylib game framework - can run on consoles even
  • Goals:
    • Desktop (MacOS, Linux, Windows)
    • WASM

Tested Files

  • RESOURCE.001 - md5: 8bb6c99e9129806b5089a39d24228a36
  • RESOURCE.MAP - md5: 374e6d05c5e0acd88fb5af748948c899

Resource types

  • .BMP = used for sprites (4bits per pixel, color indexed (16 color max))
  • .SCR = used for backgrounds (4bits per pixel, color indexed (16 color max))
  • .ADS = scene level orchestration (higher level)
  • .TTM = animation sequencing scripts (lower level)
  • .PAL = color palette - this game only used up to 16 colors
  • .WAV = audio - but this engine just references extracted .wav files and plays them

Other implementations

Other references

ScummVM has some more comprehensive implementation of ADS and TTM instruction set, but it's likely not compatible with Castaway's simple codebase because it looks to be a super-set of this architecture.

Plan of action

  • I've tried to make ScreenSaverView work in the past, i'm not going down that rabbit hole
  • Instead, I will create a menu bar application, always running, native to MacOS, and offers controls to customize functionality as needed such as IDLE_TIMEOUT
  • Since that will always be running, after determining idle timeout, it will pop open an app either fullscreen or not Additionally we can detect the mouse motion and kill the app (just like a screensaver)
  • Only downside is, a user's own screensaver could interfere, so they need to turn off that and other power management crap that they might have enabled.
  • See DarwinKit examples on menu bar app

About

Johnny Castaway implemented in Go using the Raylib game framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors