~/talk

Making Games in React

Talkat JSNation Live 2020 · 2020-06-18..06-19· [react, creative-coding]
github:drcmda
slides:none on file

Builds a working mini game with react-three-fiber and a physics layer via use-cannon, showing the actual code: a Canvas with meshes, MeshStandardMaterial, ambient/point/strip lights, a paddle tied to mouse by reading viewport width, a ping‑pong ball defined as a physics sphere, gravity set to about -30, restitution increased above 1 so the ball bounces, a contact plane that respawns the ball, and an animation loop using the useFrame hook — all implemented in roughly sixty lines and visibly running.

AI-written summary · about

  1. 0:00Introduction to React Three
  2. 3:003D space and concepts
  3. 4:15Setting up the scene
  4. 7:54Creating game components
  5. 9:19Integrating physics
  6. 11:50Mouse control and mechanics
  7. 15:37Game respawn logic
  8. 18:21Adding game elements
  9. 21:33Closing thoughts
  10. 22:28Q&A session
~/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.