This summer I am taking CS2110 (Introduction to Computer Organization and Programming). For the last few weeks of the semester we are learning about C programming. One of the assignments is to create a Gameboy Advance (GBA) game. For this assignment, I decided to create a simple balloon popping game. Each balloon is drawn using horizontal lines as well as rectangles. Instead of redrawing the entire screen each frame, in most cases only the updated parts are redrawn. After submitting the assignment, I have worked on the game a bit more. I was able to use Bresenham’s Line Algorithm to draw a straight line from the laser pointer at the bottom of the screen to wherever the target is on the screen. This shows up when the player fires the laser.
You can download a copy of the game to play in an emulator.