TDShooter is a top-down shooter game built for the GameBoy Advance by Jethro Pans as a project for the course "Software design with C/C++". This project started form the gba-sprite-engine provided by the lecturer Wouter Groeneveld. The code for this project can be observed in the file "JethroPans_TDShooter".
In the game the player controls the character named Guy who has to pass a forest that is flooded with zombified machops. If the player gets too close to the zombified machops he dies. The zombified machops can be killed using the gun. The player possesses a normal glock and a shotgun. The glock shoots one bullet at a time, however can shoot continuously. The shotgun shoots five bullets at a time, however has to wait until the last bullets disappeared.
- Arrow keys: player movement
- B: shoot
- Shoulder L: equip glock
- shoulder R: equip shotgun
The song heard in this game is "Spider dance" by Toby Fox from the RPG game Undertale.
When starting the game, the player can see the home screen. In this home screen the playable character can be seen shooting a bullet at the zombified machop, summarizing the game. After pressing the "Start" button the level starts. The background "stage1", the music "SpiderDance" and the sprites "figures" are being loaded. If the player shoots at a zombified mashop, the function shoot() reacts as the player is holding a glock or shotgun. Both are child classes of the abstract class gun. The bullets and enemies shown on the screen are vectors of the objects with the same name. Each object holds information involving the movement, position and whether it can be seen or not. If the player dies, the screen shows he failed. By pressing the "Start" button the player can return to the home screen. Same goes for the ending screen if the player completes the level.
- high-level object-oriented Gameboy Advance sprite engine library: gba-sprite-engine
- GBA image transmogrifier: Grit
- Sound to GBA file converter: Audacity
This project is licensed under the MIT License - see the LICENSE file for details.
- Machop sprite: https://www.spriters-resource.com/game_boy_advance/pokemonfireredleafgreen/sheet/3711/
- Materials used in the map: https://www.spriters-resource.com/game_boy_advance/pokemonfireredleafgreen/sheet/3736/
- Guy: http://pixelartmaker.com/art/1b679450a241211
- Bullet: https://www.spriters-resource.com/game_boy_advance/gtadv/sheet/4612/