MozillaReality / puzzle-rain

INACTIVE - A musical WebVR journey for the HTC Vive. Brought to you by Mozilla VR.
https://vr.mozilla.org/puzzle-rain/
MIT License
33 stars 11 forks source link
inactive unmaintained

Puzzle Rain

Puzzle Rain is a musical journey in which you help awaken and guide mythical creatures back together into happy musical harmony with one another. Only their combined musical chorus can summon life-giving rain to revive the parched and desolate landscape. Though, there isn’t much time. Dangerous predators roam!

Puzzle Rain poster

To play Puzzle Rain, you will need a VR-capable Windows PC with a room-scale headset, the HTC Vive headset or an Oculus Rift (with the Oculus Touch controllers) running the latest Firefox Nightly or experimental Chromium WebVR builds. To get set up, follow these instructions on WebVR Rocks.

Local Development

# Clone this repo.
git clone git@github.com:MozillaReality/puzzle-rain.git && cd puzzle-rain

# Install the Node dependencies.
npm install

# Start the local development server (http://localhost:9966/).
npm start

# Run the build system (for the Browserify JavaScript bundle).
npm run build

Deployment

To deploy to production (https://vr.mozilla.org/puzzle-rain/):

npm run deploy

To deploy to some other repo (e.g., https://cvan.github.io/puzzle-rain/):

npm run deploy -- -r cvan/puzzle-rain

Performance measurements

To run Google PageSpeed Insights locally from the command line against the production site (using psi and lighthouse):

npm run perf

License

This program is free software and is distributed under an MIT License.