GBA_Pong
GBA_Pong copied to clipboard
Pong for GBA
Just a version of Pong for Game Boy Advance.

Download: Nightly builds
Naming scema: [DATE CREATED]_[COMMIT HASH].zip
How to start development (on Linux)
- prerequisites: get docker and docker-compose
- clone repository
- go to the root of the repository
- build docker image with
make build_image - optional: get include files with
make getincludes(make deleteincludesto remove them) - recommended: install mGBA

How to start the Game
- use
make compileto compile the source (you'll find it in the /out folder) - or use
make runto compile and run the compiled game- probably needs to be configured for your emulator in case you use an other than
visualboyadvance
- probably needs to be configured for your emulator in case you use an other than
make cleanupto delete all the build data again
Whats my goal of that project?
- to learn C basics
- to learn basics of the GBA
- gaining experience in DevOps (Docker, CI/CD)
- gaining practice with my gba docker template
Convert Images with grit
- use
make grit img=[your path starting from the, excluding, /code folder] args="[your arguments]"- for example:
make grit img=img/pong_logo.png args="-ftc -gb -gB16"
- for example:
- after that just include the generated file and memcopy your image to the vram
- for example:
tonccpy(m4_mem, pong_logoBitmap, 76800)
- for example:
