GDC Vault is part of the Informa Tech Division of Informa PLC
This is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
A Practical Guide to Building Browser Based Games Using HTML5
HTML5 enabled browsers are now ubiquitous on desktops, laptops and in cell-phones, the majority of which have hardware accelerated support for CSS3 and canvas rendering. It follows that the browser is now a viable target for deploying games, without the need for 3rd party plugins.
This presentation will show how to create a 2D isometric city simulation game within the browser. The game renderer is implemented twice - once using the HTML5 canvas element, and once using the DOM and CSS3 to render sprites, to enable a fair comparison of the two approaches, and runs on all desktop browsers, iOS and Android.
The presentation will cover the prerequisite requirements for developing for modern browsers and the limitations of devices on which they run, before diving into concrete examples of rendering (DOM vs canvas), browser compatibility, user input acquisition (eg. iOS gestures), and finally look the tools are available to profile and debug a game.
Did you know free users get access to 30% of content from the last 2 years?