Using WebGL and PWA to build an adaptive game for touch, mouse and VR devices
summary
A small fruit‑slicing game is built with BabylonJS over WebGL 1 and 2, loads glTF models, uses pointer events and repeated raycasts along drawn lines to detect slices, and integrates a physics engine via WebAssembly for believable fruit motion. The app becomes fully playable offline after the first load by storing textures and scenes in service worker + IndexedDB and registers as a PWA that can be packaged for stores; the same codebase runs on touch, mouse and WebVR headsets at the target frame rates.
AI-written summary · about
chapters (4)
related talks
38mUsing WebGL and PWA to build [...] game for touch, mouse and VR
44mSponsored session: Progressive Web Games
56mPWA For Games: An Enhanced Web Gaming Experience
26mBuilding a 2D Game from Scratch with WebGPU
40mWebGPU and Babylon.js: a Fruitful Collaboration
37mMoving Web applications into Virtual Reality
21mPlaying with Nuxt in 3D
01h 15mDeveloper Roadshow
