Git Product home page Git Product logo

react-vr-frogger's Introduction

โš ๏ธ Currently rewriting this repo to use React 360, formerly known as React VR. Feel free to watch the repo when updates go out. More features on the way!


๐Ÿธ Frogger-React-VR

This is a proof-of-concept project and a recreation of Frogger using React VR.

How to Play

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.

Installation

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.*.

Learn ReactVR

If you are interested in learning about React VR, the following resources helped me to create this project:

  1. Awesome ReactVR

  2. Learn ReactVR

  3. React Native Animations Using the Animated API

Attributions

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:

  1. 3D Nature Pack - CC0 License
  2. 3D Landscape Assets v2 - CC0 License
  3. 3D Vehicles Assets v1 - CC0 License
  4. Blue Clouds Skybox - by OpenGameArt.org user Spiney. CC3 License
  5. Baby Frog

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.