~/talk

Realtime HTML5 Multiplayer Games with NodeJS

Talkat JSConf US 2011 · 2011-05-02..05-03· [nodejs, web-platform]
slides:none on file

An HTML5 canvas game uses Node.js + socket IO and a server-authoritative snapshots model so the server runs physics and sends world updates; clients render 75ms in the past and linearly interpolate to avoid zigzag and tolerate packet loss. A Box2D port runs on the server and synchronizes across Chrome Firefox and Safari. The released framework includes a radius collision manager with group masking and the demo sustains eight simultaneous games at ~3–4% CPU.

AI-written summary · about

  1. 0:00Start
  2. 1:59Benefits of writing your game in JavaScript with Node.js
  3. 3:05Interoperability between Client and Server
  4. 4:02Problems with this approach
  5. 6:49Server / Client Model
  6. 8:51Entity Interpolation
~/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.