supermedium / moonrider

🌕🏄🏿 Surf the musical road among the stars. Side project built by two people in a few months to demonstrate WebXR.
https://moonrider.xyz
MIT License
583 stars 225 forks source link

As a standalone game #207

Open eSPiYa opened 2 months ago

eSPiYa commented 2 months ago

Is it possible to make this a standalone game?

Yesterday, I realized that I want this game to be a standalone after experiencing a 14hr blackout due to a typhoon. We are safe but it is quite boring having if there's no electricity. We have several power banks so we can play for hours.

Oculus/Meta Quest devices are designed as standalone VR gadgets, so I think it will be great if we can play this game even without access to another device or internet.

ccoenen commented 2 months ago

with webworkers and a manifest, this could work offline, I believe.

dmarcos commented 1 month ago

No plans for standalone version. It's a web app.

eSPiYa commented 1 month ago

I stumbled upon Cordova before, around 10 years ago, it is a tool that can turn web applications into a native Android application. Considering that Quest 2 is android-based, I think this is possible. I tried to research about it if it can handle node.js-based web applications, but I found Capacitor. I don't know if this will work, specially my only experience with Node is following a video tutorials of Angular.

The challenges are the support for WebXR and access to storages.