Skip to content

zachhoulton/embedded-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starfighter

A 3D Aerial Combat Game for the MSPM0
Final Project for Embedded Systems (ECE319H)


Overview

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.


Demo Video

IMG_8712.MOV

Screenshots


Hardware Used

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)

Features

  • 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

Multiplayer

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.

Authors

Zachary Houlton and Ariv Mondal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages