Using WebGL and PWA to build [...] game for touch, mouse and VR
summary
A small WebGL game built with Babylon.js and GLTF models is described, running on mouse, multi-touch and VR via WebVR/WebXR with controller support added in a few lines. Collision detection uses raycasts and sampling between stroke segments to catch fast swipes, pointer events unify inputs, performance tuning aims for VR 90fps, and offline/packaging is handled with a preload plus service worker and assets stored in IndexedDB for app store packaging.
AI-written summary · about
chapters (5)
related talks
32mUsing WebGL and PWA to build an adaptive game for touch, mouse and VR devices
44mSponsored session: Progressive Web Games
45mThe visual web of today and tomorrow - WebGL and WebVR.
25mCreating VR (and AR) on the web. Take 2.
32mWriting Virtual and Augmented Reality Apps with Web Technology
21mBuilding Fun Experiments with WebXR & Babylon.js
37mMoving Web applications into Virtual Reality
22mLook ma! No hands!
