~/talk

Optimizing HTML5 Games: 10 Years of Learnings

Talkat JS GameDev Summit 2022 · 2022-04-07..04-08· [web-performance, web-platform]
slides:none on file

PlayCanvas is an open source WebGL engine that packs concrete tactics: use Chrome DevTools and gzip to find big requests, convert 2.2 MB JPEGs to basis textures (down to ~1.7 MB, GPU memory 1/5–1/10, avoids 160 ms JPEG decode), switch JSON meshes to glTF/glb (pass time drops from ~1.25 s to ~50 ms) and compress big models with Draco (21 MB → ~1.8 MB, decompression ~0.4 s in a web worker), use spector.js, atlas textures and batching to cut draw calls and shave seconds off load and frame stalls.

AI-written summary · about

  1. 0:00Introduction to optimization
  2. 3:18Optimizing load times
  3. 8:53Mesh and data optimization
  4. 13:58Game design for performance
  5. 16:04Frame rate optimization
  6. 22:19Conclusion and best practices
~/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.