A musical WebVR journey for the HTC Vive. Brought to you by Mozilla VR.
JavaScript HTML CSS GLSL
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
lib
logs/perf
.babelrc
.gitignore
LICENSE.md
README.md
package.json

README.md

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 an HTC Vive headset running the latest experimental Chromium VR builds (full HTC Vive support is coming to Firefox soon!). Follow these instructions to get set up.

Local Development

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

# Install the Node dependencies.
npm install

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

# Run the build system (generates Browserify JS bundle).
npm run build

Deployment

To deploy to production (https://mozvr.com/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.