Game programming in JavaScript

Follow along @

Jason Famularo or @splodn

Stop me and ask questions! You can also ask me to slow down if I speak too fast.

Does JavaScript do everything?


Game programming

  • Typically C/C++, formerly assembly
  • Game loop
    • Process input
    • Update game state/AI
    • Render game (graphics, sounds)
    • Control rate of gameplay
  • Sprites
  • Collision detection
  • And so much more...

Game programming in JavaScript

  • HTML Elements (<div>'s and <span>'s)
  • <canvas> element
  • asm.js

Let's play some asm.js games

Available Framworks


Show me the JavaScript!

"Finished" product

Jason: in case you can't code in front of a room full of people: CLICK ME


Ask away!

Jason Famularo or @splodn