A React Native application that emulates the scope of Hitman 3's gun on your phone screen. Featured and demoed on SFU Comp Sci's Instagram page, with 100+ likes.
This project is a mobile application built with React Native that simulates the scope view of Hitman 3's gun on your phone. It provides a virtual experience similar to the in-game scope, allowing users to aim and interact with the simulated environment.
- Realistic scope visualization and effects
- Interactable UI
- A simple voice assistant that tells you when to adjust your scope, and launch
- Arduino sensor data
Follow these steps to install and run the application:
-
Clone the repository:
git clone https://github.com/joshxgchen/hitman.git
-
Install dependencies:
cd hitman/HitmanProject npm install
-
Start the application:
npx react-native run-android # For Android npx react-native run-ios # For iOS
-
Make sure to have the necessary development environment set up for React Native. You can refer to the official React Native documentation for detailed instructions.
Once the application is running on your device, follow these steps to use the Hitman scope:
- Launch the application on your phone.
- Adjust the zoom level and crosshair style to your preference.
- Hold your phone as if you were aiming a gun.
- Use your device's gyroscope and touch gestures to aim and interact with the scope.
- Experience the simulated Hitman 3's scope on your phone screen.
- Attach the gunscope to the nerf gun.
carmenlawkm
mrpthemrp
zjessicali
joshxgchen