Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
HTML5 Zone is brought to you in partnership with:

John Esposito curates content at DZone, while writing a dissertation on ancient Greek philosophy and raising two cats. In a previous life he was a database developer and network administrator. John is a DZone Zone Leader and has posted 268 posts at DZone. You can read more from them at their website. View Full User Profile

Developer Diary: In-Browser Networked FPS

12.27.2011
Email
Views: 1194
  • submit to reddit
The HTML5 Microzone is presented by DZone and Microsoft to bring you the most interesting and relevant content on emerging web standards.  Experience all that the HTML5 Microzone has to offer on our homepage and check out the cutting edge web development tutorials on Script Junkie, Build My Pinned Site, and the HTML5 DevCenter.

Chris Dickinson, like Opera's Bruce Lawson, received his undergraduate degree in humanities -- but has loved programming since high school, and especially loves game development.

The best games aren't just tech-tacular, either: rather, they use technology to do things other kinds of art have been doing for thousands of years -- although perhaps in differently interactive ways. For plenty of gamers, the plots are at least as memorable as the graphics -- and the plots don't age as poorly as graphical engines do.

So Chris, with his liberal arts degree and considerable game-development experience (years ago he wrote an OpenGL engine in C++) is a great developer to write about WebGL game development.

His latest project is underway: a networked first-person shooter (FPS), in the browser, using WebGL.

He's documenting the development process in a series of blog posts, and has currently completed through 'Rendering with WebGL'. Quite a bit more is sketched out, though: he'll be using Socket.io and Node.js for networking (though he will explain why not Websockets, however cool they are), Web Workers (crucial for a game this complex). 

Should be worth following, if you're interested in watching a WebGL game (an FPS, no less) come to life.

Published at DZone with permission of its author, John Esposito.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

HTML5 is the most dramatic step in the evolution of web standards. It incorporates features such as geolocation, video playback and drag-and-drop. HTML5 allows developers to create rich internet applications without the need for third party APIs and browser plug-ins.  Under the banner of HTML5, modern web standards such as CSS3, SVG, XHR2, WebSockets, IndexedDB, and AppCache are pushing the boundaries for what a browser can achieve using web standards.  This Microzone is supported by Microsoft, and it will delve into the intricacies of using these new web technologies and teach you how to make your websites compatible with all of the modern browsers.