This GBC game is designed for learning and serves as a foundation for a small but complete RPG project on the Game Boy Color.
- GBDK-2020 installed: https://github.com/gbdk-2020/gbdk-2020
make(cygwin) and a working C compiler (GCC/Clang)- A Game Boy emulator (SameBoy)
# Set this if GBDK is not in your PATH
export GBDK_HOME=/path/to/gbdk
makeThe compiled ROM will be generated in build/Sepulture.gbc.
- SameBoy:
c:/sameboy/sameboy.exe build/Sepulture.gbc
- D-Pad: Move the hero (basic wall collision)
- Start: Toggle movement speed (normal/turbo) - demo purpose
- Select: Reset player position
src/main.c— main game loop, GBC palette initialization, simple map, player sprite, input handling.assets/— future location for tilesets, maps, and audio data.include/— custom headers.build/— compiled output.Makefile— build system for GBDK.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
