Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/georgjz/game-boy-cradle-rgbds
A project template for Game Boy (Color) games written in assembly with RGBDS
https://github.com/georgjz/game-boy-cradle-rgbds
Last synced: about 2 months ago
JSON representation
A project template for Game Boy (Color) games written in assembly with RGBDS
- Host: GitHub
- URL: https://github.com/georgjz/game-boy-cradle-rgbds
- Owner: georgjz
- License: mit
- Created: 2023-08-03T09:30:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-03T17:41:18.000Z (over 1 year ago)
- Last Synced: 2023-08-03T18:44:01.345Z (over 1 year ago)
- Language: Assembly
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RGBDS Cradle
A minimalistic project template for Game Boy (Color) games. It uses [CMake][cmake] to automate the build process to make development more convenient. To use this template, you'll need the following tools installed:
* [CMake][cmake]
* [RGBDS][rgbds]It is meant to make it easy to split your project into several files without having to create complicated build files.
## How To Use
This is a GitHub template you can [easily copy several times](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template). To build the example ROM, simply switch to a command line:
```
$ cmake -S . -B build
$ cmake --build build
```Then you should find the ROM in `build/rgbds-cradle.gb` which you should be able to run in any emulator.
## Example Code
The example code in this repository is taken from the excellent [GB ASM Tutorial][gbtut]. I modified the original `hello-world.asm` to be split into several files to show how to do it with this template. It shows how to create an arbitrary file/directory structure.
## To Do
Here are some things I'm planning to add:
* Options to better differentiate Game Boy and Game Boy Color development
* Options/function to add automated asset handling with `rgbgfx`
* Options to control `rgbfix` better (currently you need to add options in `cmake/CMakeRGBDSInformation.cmake`)
* GitHub actions to automate building and releasing games## Contribution
Any kind of feedback, bug reports, pull requests, etc. are highly appreciated and encouraged! If you have an idea, please don't hesitate to open an issue to discuss it.
[cmake]: https://cmake.org
[rgbds]: https://rgbds.gbdev.io
[gbtut]: https://gbdev.io/gb-asm-tutorial/part1/hello_world.html