Skip to content
0:00 / 0:00

#html5#canvas#webgl

HTML5 technologies and game development - Rob Hawkes

webdirections

3.9K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • Presented by Rob Hawkes, Mozilla Technical Evangelist
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

16K views14 years ago1 recommendation

Web developmentGame developmentHTTP, REST and GraphQLGame programming

Rob Hawkes explores HTML5 browser features for game development, including Canvas, WebGL, Audio, and WebSockets.

With Angry Birds, Cut the Rope and other block­buster games now work­ing in mod­ern web browsers, it's fair to say nat­ive, browser based gam­ing has arrived for real. But how do they do it? In the ses­sions, Moz­illa Tech­nical Evan­gel­ist Rob Hawkes looks at the fea­tures now in your browsers to help develop games (and other inter­act­ive web based exper­i­ences) includ­ing the Can­vas and WebGL, HTML5 Audio API, Mouse­lock and the Joy­stick API. A presentation recorded at Web Directions Code 2012. For more Web Directions events check out webdirections.org/ or follow @webdirections.

Why it's here

1 person recommends this

What people say. Recommended as a helpful resource on using WebSockets and HTML5 APIs for real-time browser-based multiplayer games.

leggetteron Stack Overflow • Recommends

On “Are WebSockets suitable for real-time multiplayer games?”

…n for realtime multiplayer games running in a web browser. As pointed out in the comments there is an initial handshake where the HTTP connection is upgraded but once the connection is established WebSockets offer the lowest latency connection mechanism for bi-directional communication between a server and a client. I'd recommend you watch this: link to this video Have a look at: http://browserquest.mozilla.org/ code available here: https://github.com/mozilla/BrowserQuest https://chrome.com/supersyncsports/ The only raw TCP solution would be to use a plugin which supports some kind of TCPClient object. I'd recommend you try out WebSockets. You can find a number of options here. Just search…