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

Load scene *asynchronously* on landing page (if WebVR is supported) #86

Closed cvan closed 2 months ago

cvan commented 7 years ago

@arturitu, I see you recently changed the experience for issue #75, but it's introduced some complications.

Now, the splash/landing page has to wait on all the assets to be loaded - and the audio is played before I've entered the experience (and there's no discernible way to mute).

If I have a WebVR-enabled browser or I have installed the WebVR API Emulation Chrome extension, I get shown the landing page with the Normal Mode/Spectator Mode buttons shown. But, I have to wait for 196 requests and 14.1 MB to download before I see the splash screen; in the meantime, I see a throbber.

Additionally, once the entire scene loads (but is hidden), the background audio plays in the background even before I start the experience. Once I click on one of the modes, it takes an additional (why?) 3.6 seconds to load a splash page that says ENTER VR. Then, once I click the ENTER VR text, the experience finally starts.

Relevant issues: