Skip to content

tolik518/GBA_Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


Features

  • Nice title screen
  • Red ball
  • Ball always goes in static speed and static 45° angle
  • Paddles move up and down
  • Score counting
  • Actual 2 player mode (via link cable) wow
  • Basic enemy AI

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