~/talk

Building Multiplayer Games with Phoenix and Phaser

Talkat ElixirConf EU 2016 · 2016-05-11..05-12· [frontend-architecture]
links:none on file
slides:none on file

Live code shows Phoenix channels and Phaser (Pixi rendering) wired over WebSockets to sync a draggable “hello world” text, then evolve into per-player GenServer processes and supervision trees so each character is a server-side process. Demos reach 60fps with many sprites but reveal a scaling fault where 500 clients flood the network using naive broadcasts; switching to broadcast_from and considering a server pulse/batch update fixes echoes and reduces messages. Several multiplayer demos (rock paper scissors, snake, dots) and code on Github ktec are provided.

AI-written summary · about

  1. 0:00Introduction
  2. 2:31Features
  3. 6:47Project Setup
  4. 8:37Hello World
  5. 10:16Phoenix Channels
  6. 13:12Send Messages
  7. 14:57Receive Messages
  8. 17:17Demo
  9. 18:23Supervision Trees
  10. 20:46Message Flow Problem
  11. 22:38Demos
  12. 26:26Future plans
~/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.