In this cross-platform Augmented Reality (AR) application, players look for and interact with hidden objects in order to discover coins. Collecting all the coins will allow the player to enter a portal where they are greeted with a nice winning screen, unless they run out of time.
Fork the project to your github then clone via the following line inside your terminal:
git clone https://github.com/your_Github_Name/Playground.git
install the npm package with npm:
npm install
Install the Viro Media App from the Google Playstore or the App Store .
Sign up for an API key from ViroMedia.
In your Playground root directory, create a file called my_API_KEY.js with the following format:
export default sharedProps = {
apiKey: 'YOUR VIRO API KEY'
};
export const IPAddress = "YOUR LOCAL IPv4 ADDRESS" //In your terminal type "ipconfig getifaddr en0" to retrieve your local IP address
Then, open up a second instance of the terminal. In the first instance, type:
npm start
And in the second, type:
npm run server
Have fun playing Playground AR, where the world becomes your Playground!
Players can click on TUTORIAL from the main screen to enter Tutorial Mode:
Players can calibrate their device to the Playground by hovering over the totem and clicking START:
Explore the room and collect the coins!
Some objects can be collected and deployed!
Some objects can interact with other objects!
You can also re-calibrate if needed.
- React Native - Framework for Android and ios
- Node.js - JavaScript Runtime
- Viro - AR/VR Library
- Axios - HTTP client
- John Vitales
- Robert Schnek
- Harsh Patel
- Ethan King