Skip to content

gopdsdk v0.6.0 - Advanced Graphics, Video, and Diagnostics

Choose a tag to compare

@Djunichi Djunichi released this 08 Aug 14:45
· 14 commits to master since this release
5d2add2

gopdsdk v0.6.0

This release completes P6 with advanced graphics composition, display and
sprite redraw controls, optional PDV video playback, and bounded external-game
diagnostics.

Highlights

  • Added playdate.BitmapCompositor for rotated and scaled bitmap drawing.
  • Added callback-scoped stencil composition with validated ownership and
    graphics-state restoration.
  • Added optional physical-display presentation controls.
  • Added global dirty-region policy and per-sprite redraw invalidation.
  • Added explicitly owned PDV video players with metadata, frame stepping,
    looping, and screen or offscreen targets.
  • Added the allocation-free playdate/diagnostics collector for frame-time
    distributions, live-heap growth, and owned native-resource counts.
  • Added deterministic composition, sprite-redraw, and video acceptance scenes.
  • Embedded project-owned Simulator and device bridge sources as package assets.
  • Preserved the existing playdate.Context contract through optional
    capability interfaces.

Acceptance and verification

The P6 feature set passed:

  • Native Go tests and generated Simulator/device ABI regression tests.
  • Official Playdate SDK 3.1.1 packaging and Windows Simulator acceptance.
  • Conservative hard-float device builds.
  • USB deployment and physical Playdate acceptance.
  • Comparative full-redraw and dirty-region checks.
  • Bounded-memory and native-resource regression checks.
  • Physical-device soak and post-run device-log inspection.
  • External gopdsdkgame diagnostics runs in the Simulator and on hardware.

The verified toolchain remains:

  • Go 1.26.5
  • Playdate SDK 3.1.1
  • TinyGo 0.41.1 with LLVM 20.1.1
  • Arm GNU Toolchain 15.3.1

macOS and Linux native Go CI is covered. Official SDK, Simulator, device-build,
USB, and physical-hardware execution on those hosts remains unverified.

Upgrade

Existing v0.5 applications can update without changing their base
playdate.Context usage:

go get github.com/Djunichi/gopdsdk@v0.6.0