🎮 ZamGBA: A homebrew GBA game SDK written in Zig

This page contains two demos:

  1. Pong.gba: A classic pong game compiled for the Game Boy Advance, running at a smooth 60 FPS.
  2. Flappy Tsetseg: A simple "don't hit the wall" flying game with animation created by my daugher.

All the demos are built from scratch using ZamGBA (https://github.com/tsetseggames/zamgba) , — an open-source SDK and 2D engine written in **pure Zig (0.16.0)**.

---

âš¡ What's new in ZamGBA v0.2.0

  • Support animated sprite. Read animations to build a great-looking, moving sprite.
  • A CLI tool, zurag. It reads exported PNG and JSON file, and extracts palettes and assets, convert them to readable assets in GBA.
  • Streaming animation processing to support optimized memory use.

âš¡ What's new in ZamGBA v0.1.0

  • Zero C Toolchain: Native arm-freestanding-none cross-compilation via zig build.
  • Comptime Header: Rom header and checksum generated at compile-time without `gbafix`.
  • Fixed-Point Math: Fixed24_8 with zero runtime software-FPU overhead.
  • Interrupt-driven 60 FPS: Hardware IRQ VBlank synchronization.
  • Gamepad control: Fully support all key inputs of GBA 

 ðŸ”— Open Source & Links

You can also download the standalone pong.gba ROM  to play on real GBA hardware (flashcart) or your favorite local emulator (mGBA).

Updated 14 days ago
StatusIn development
PlatformsHTML5
AuthorFuzhou Chen
TagsGame Boy Advance
AI DisclosureAI Assisted, Code

Download

Download NowName your own price

Click download now to get access to the following files:

pong.gba 2.8 kB
flappy_tsetseg_streaming.gba 14 kB

Leave a comment

Log in with itch.io to leave a comment.