Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE SDFileSystem mbed-rtos mbed wave_player
You are viewing an older revision! See the latest version
SharpShooter
Overview¶
SharpShooter is a hyper-interactive third person shooting game. Your job is to complete all three levels by shooting the targets using timing and accuracy. As the levels increase, you will face more moving obstacles that will block your shot and test your shooting expertise.
Gameplay¶
Controls¶
Using Navigation Switch or Joystick:
- Left = Move Left
- Right = Move Right
- Center = Shoot
Links to Necessary Components¶
Joystick: https://developer.mbed.org/users/4180_1/notebook/using-a-navigation-switch-digital-joystick/ uLCD: https://developer.mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/ sD Card Reader: https://developer.mbed.org/cookbook/SD-Card-File-System Amplifier (TPA2005D1 Class D) and Speaker: https://developer.mbed.org/users/4180_1/notebook/tpa2005d1-class-d-audio-amp/
Code¶
include the mbed library with this snippet
#include "mbed.h"