Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 2.69 KB

README.MD

File metadata and controls

53 lines (38 loc) · 2.69 KB

GBA Pong

Compiled GBA file

Just a version of Pong for Game Boy Advance.

Pong Titlescreen Pong Game Pong Game

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 deleteincludes to remove them)
  • recommended: install mGBA

Installing the project and compiling the game

How to start the Game

  • use make compile to compile the source (you'll find it in the /out folder)
  • or use make run to compile and run the compiled game
    • probably needs to be configured for your emulator in case you use an other than visualboyadvance
  • make cleanup to delete all the build data again

Whats my goal of that project?


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"
  • after that just include the generated file and memcopy your image to the vram
    • for example: tonccpy(m4_mem, pong_logoBitmap, 76800)

Repository created and maintained by tolik518.
Dockerfile based on the Dockerfile from Nathan Chowning.
The Makefile is a mashup of the original from devkitPro and from coranac.
The 'Pong'-font is based on this BitmapFont by Ian Hanschen