Sage is a lightweight GBA development library for mode 5 inspired by 3DSage.
Explore the wiki »
Report Bug
·
Request Feature
Table of Contents
Sage focuses on the GBA's bitmap display mode 5 providing back buffer page filping and full 32bit color with the trade off being halfed resolution (120x80) streched to fit the GBAs screen. The goal is to provide a small library, set of tooling, and build pipline that exposes concepts about the GBA for beginners or those looking to get set up quickly.
To get started you will need the following installed on your system:
- DevKitPro Setup
- GBA emulator
-
Once DevKitPro is intalled, make sure to add the devkitARM directory in your system path, this is where the gcc compiler for the GBA is.
-
Clone the repo
git clone hhttps://github.com/BrandenM-OW/sage.git
-
Run the MakeFile
cd path/to/repo/<project-name> make
-
The result of the makefile will be a .gba file in the root of the project folder which you can run in your emulator.
-
Automation. It's beneficial to automate the above to some degree. A batch file to run make clean && make && mgba-qt project.gba for example or using tasks in VSCode can improve the build / test loop.
We will be adding usage examples as branches to the repo as we build them.
- Sprites and images
- .bmp to c array pipeline in the build
- UI tooling
- Physics
- Better controller input handling
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Branden Morin - You won't catch me active on social media.
Project Link: hhttps://github.com/BrandenM-OW/sage