ZamGBA: An homebrew SDK for GBA
🎮 ZamGBA: A homebrew GBA game SDK written in Zig
This page contains two demos:
- Pong.gba: A classic pong game compiled for the Game Boy Advance, running at a smooth 60 FPS.
- 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
- GitHub SDK Repository: https://github.com/tsetseggames/zamgba
- Pong Demo Source Code: https://github.com/tsetseggames/zamgba/blob/main/demo/engine/pong.zig
- Community Discussion (Ziggit): https://ziggit.dev/t/zamgba-pure-zig-sdk-for-game-boy-advance-homebrew-v0-1-0/17...
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 |
| Status | In development |
| Platforms | HTML5 |
| Author | Fuzhou Chen |
| Tags | Game Boy Advance |
| AI Disclosure | AI 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.