SharpShooter II: FPS w/ Wireless IMU Glove Controller
Developers: Joseph Boettcher, Zachary Braun, Sean Buckingham
Overview
SharpShooter II is a hyper-interactive first person shooting game. Your job is to complete all four levels by shooting the targets using timing and accuracy. As the levels increase, you will face obstacles that will block your shot and agile targets that will test your shooting expertise. Link to SharpShooter I https://developer.mbed.org/users/jboettcher/notebook/sharpshooter/#
Features
- Four levels with dynamic targets and obstacles
- Background music and sound effects
- Leaderboard saved permanently to file to check high scores
- IMU Controller
- Shoot and Reload ISR functions
- Duplexed Wireless Communication with Checksums
- LEDs to keep track of lives
- Vibration Feedback
Gameplay
Instructions
- The aim of the game is to score the most points, you gain a point for each target you shoot.
- Each level is timed and if you don't complete the level before the clock runs out you will lose a life.
- You have 4 lives, which are shown as LEDs on the glove.
- The scope will turn yellow when you run out of bullets. Reload by cycling the switch up and down.
- If you win, add your initials to the Leaderboard using the navigation switch
Controls
- Pushbutton: Shoot
- Switch: Reload
- IMU: Gesture controlled movement
Setup
Components
- MBED LPC1768 (2x)
- XBee S1 (2x): https://developer.mbed.org/cookbook/XBee
- IMU: https://developer.mbed.org/components/LSM9DS1-IMU/
- uLCD: https://developer.mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/
- Haptic Sensor: https://www.sparkfun.com/products/8449
- sD Card Reader: https://developer.mbed.org/cookbook/SD-Card-File-System
- Navigation Switch: https://developer.mbed.org/users/4180_1/notebook/using-a-navigation-switch-digital-joystick/
- Laptop with Speakers and Processing.js Software http://processingjs.org/
- AA Battery (4x), with Battery Holder and Powerjack
- Pushbutton
- Switch
Glove-Side Setup
- IMU sends accelerometer data to mbed
- XBee sends control data (Movement, Shoot, Reload) and receives game feedback (Lives Remaining, Haptic Feedback)
Import programGlove
Code for Wireless IMU Glove Controller used for SharpShooter II
Game-Side Setup
- uLCD displays game
- sD Card Reader saves and accesses Leaderboard
- Processing script plays sound effects and background music on Laptop https://github.com/zack-braun/Sharpshooter2
- Xbee sends game feedback (Lives Remaining, Haptic Feedback) and receives control data (Movement, Shoot, Reload)
Import programSharpShooter_2
ECE 4180 Sharpshooter!! game
Please log in to post comments.