Shooting Gallery VR game that uses a store bought a toy gun and it to a targeting device using an Arduino Microcontroller.
The game is built in Unity3d for Google Cardboard and Daydream.
Responsibilities: Designer, engineer, and artist.
Download Android Here
The game recreates the classic penny arcade shooting gallery. With the challenge of converting a toy gun to a responsive VR controller. Using Bluetooth to communicate from the gun to the phone and use a 9-DOF sensor and turn the sensor data into something a Unity3d game can understand.
Github source code to turn your own toy gun into a game controller.
the plan was to find a gun with an electronic switch for a trigger. Gun that makes shooting noise are perfect for this project. I found this gun on Amazon pretty cheap.
Pink but also it has 2 switches.
I grew up in a family that forbid me to have toy guns as a child so many years later I still felt some guilt in purchasing this gun for this project. I would also suggest not walking around with this gun.
Bill of Materials
|1||Adafruit Feather 32u4 Bluefruit||variant variant 1; part # Adafruit #2829|
|1||Lithium Ion Polymer Battery 3.7v 1200mAh||variant 1200mAh; part # 258|
|1||9-DOF Absolute Orientation IMU Fusion Breakout – BNO055|
|2||10Ω Resistor||package THT; bands 4; pin spacing 400 mil; tolerance ±5%; resistance 10Ω|
I using a Dremel i carved out a space big enough to mount the board and components in.