This is a proof-of-concept project and a recreation of Frogger using React VR.
Use W, A, S, D keys on desktop to move around. On mobile, your character moves in the direction of the part of the screen you tap in. If you tap the top part of your screen, the frog will move forward. Tapping left moves the frog left, and so forth.
Download the project. Run yarn
in the project directory. Run yarn start
to run the app in development mode. Navigate to localhost:8081/vr/
in your browser to see it in action.
Alternatively, access the development server from your phone by opening 192.168.1.100:8081/vr/index.html
if your local IP is 192.168.1.100
. If you are running this project on a Mac or Linux machine and do not know your local IP, you can run ifconfig
in your terminal. Look for an IP that matches 192.169.1.*
.
If you are interested in learning about React VR, the following resources helped me to create this project:
All assets in the static_assets
directory are Creative Commons licensed works (This excludes the frog model and material. You will need to download the frog assets in the list below or provide your own model.). The following is a list of asset used in this project:
- 3D Nature Pack - CC0 License
- 3D Landscape Assets v2 - CC0 License
- 3D Vehicles Assets v1 - CC0 License
- Blue Clouds Skybox - by OpenGameArt.org user Spiney. CC3 License
- Baby Frog