~/talk

Gamedev on React + WebGL

Talkat ReactEurope 2020 · 2020-05-14..05-15· [react, web-animation]
slides:none on file

Argues that using PixiJS with react-pixi-fiber lets familiar React tooling and contexts drive game UI while offloading rendering; uses a viewport context for resize and SVG-as-texture to cut GPU memory. Shows GLSL shaders give the fastest effects but require low-level skill, so community filters help. Replacing sprite sheets with videos plus FFmpeg drops an example build from 60MB to 10MB. Recommends GSAP-style tweening and avoiding setState in 60fps loops.

AI-written summary · about

  1. 0:00Intro
  2. 0:57My gamedev experience
  3. 1:31Gamedev on my job
  4. 2:10Well-known stack
  5. 3:00Reusable knowledges
  6. 3:36Documentation & Community
  7. 4:18React + Pixi.js
  8. 6:42I use Context debounced resize listener
  9. 7:06Problem: Retina
  10. 8:44Benefits
  11. 10:25Effects: Shaders
  12. 12:03React rendering
  13. 13:43Shaders: fast but hard
  14. 15:29Effects: Pixi.js Filters
  15. 16:02Benefit: Pixi Filters
  16. 16:31Benefit: performance
  17. 17:35Animations (160 Mb)
  18. 18:41Sprites: too big
  19. 19:24Animations (10 Mb)
  20. 20:17Videos vs Sprites
  21. 21:42Videos: formats
  22. 23:04Videos: my combination
  23. 23:46Videos: restrictions
  24. 26:40Tween.js: chaining
  25. 28:45Rendering architecture
  26. 29:08Gameplay rendering
  27. 29:50Interface rendering
  28. 30:22Interfaces everywhere
  29. 31:01React can be slow
~/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.