In an effort to promote the HTML5 platform, Mozilla has launched a retro-style MMO adventure game demo based on the technology, called BrowserQuest. To that end, it has also released Source Code for developers, showcasing how the technology can be used today to create a real-time multiplayer game in a single webpage.
Mozilla’s BrowserQuest game was developed by Little Workshop, and uses a new bi-directional server-browser communication technology called WebSockets. The game can be played in Chrome, Firefox and Safari, and with WebSockets, even with Opera. It will also run on Safari for iOS, and Firefox for Android.
BrowserQuest utilizes HTML5’s built-in tools to easily generate a 2D tile-based world, its audio APIs for sound, and the WebSockets layer to communicate with the backend server. Users will be able to access their game across platforms, with localStorage-based autosave features keeping track of everything. Chat features, and a user dashboard, are also be available.