~/talk

Using WebGL and PWA to build an adaptive game for touch, mouse and VR devices

Talkat JSNation 2019 · 2019-06-05..06-08· [web-platform, pwa, webxr]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 6:46building for desktops & mobiles
  3. 17:22Virtual Reality
  4. 24:37making it a PWA
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.