A 3D Aerial Combat Game for the MSPM0
Final Project for Embedded Systems (ECE319H)
Starfighter is a 3D space shooter inspired by Star Wars, built from scratch on the MSPM0 microcontroller.
All rendering, controls, sound, and gameplay are implemented using embedded C, meaning no external game engine is required.
IMG_8712.MOV
| Component | Function |
|---|---|
| MSPM0 LaunchPad | Core game logic |
| ST7735 LED | Display |
| Joystick | Pitch/yaw aiming control |
| 3 Switches | Fire, Boost, Recenter |
| DAC Audio Jack | Sound FX (shots, explosion) |
- 3D starfield rendering
- Real-time sprite projection
- Directional aiming + boost movement
- Player selection screen
- Dual-language menu
- Health bar + win/lose end screen
- Sound effects (DAC)
- (Experimental) Multiplayer using UART communication
The game includes a functional UART protocol for syncing position data between two MSPM0 boards.
- 8-byte float encoding for transmitting x, y, and z coordinates
- Framing and decoding logic
- A handshake protocol at startup to ensure both devices are ready before beginning the game
The multiplayer system is currently commented out due to performance constraints.
Zachary Houlton and Ariv Mondal