Pure HTML5 Gaming Goodness
BrowserQuest uses the Websockets API to allow users to chat within the browser by offering a full duplex communication channel operating through a single socket over the Web. This allows users to take full advantage of the game while generating far less network traffic. Due to the use of Websockets, the game currently only runs on Firefox for Android and Mobile Safari on mobile devices, and Firefox, Chrome, Safari, and Opera (provided you enable WebSockets) full browsers.
BrowserQuest takes advantage of the HTML5 Canvas element to generate the 16-bit graphics while using HTML5 audio APIs for rudimentary sound effects. Audio, however, is one of the many roadblocks for games like BrowserQuest to flood the market today as the available HTML5 Audio APIs are not robust enough to handle quality audio requests.
New HTML5 rendering technologies, such as WebGL, can bring hardware-accelerated 3D graphics to the browser without installing additional software for mobile game development in the future. Integration of these technologies could bring other MMO games like Activision Blizzard’s World of Warcraft® finally into the mobile world.
As games like BrowserQuest push mobile HTML5 development and standardization faster to the market, native app stores will start to become less of a necessity for discoverability and monetization. The AT&T API Platform provides solutions normally unavailable to mobile application developers, with integrated access to APIs, a HTML5 storefront, and a Sencha Touch powered SDK for HTML5 that assists developers in building HTML5 web apps that look and feel like native apps. AT&T APIs such as the Payment API, allow for quick and easy mobile micropayment transactions to be completed through the app, without the need to set up a separate billing process. Once payment is completed, the transaction shows up on the customer’s monthly AT&T wireless bill and the developer receives payment. AT&T offers these quick and easy-to-integrate APIs to make a developer’s life easier, so a developer can focus on what they want to do—instead of what they have to do.
BrowserQuest represents a significant breakthrough in mobile app development, because it is the first step toward support for games across all mobile devices. HTML5 is the future in mobile gaming, make sure you are prepared for it.