Touch input for an HTML5 game
This topic describes why Boulder Bop is automatically touch enabled in Internet Explorer 10 and later.
Internet Explorer 10 (and later) converts basic touch events (such as screen taps) to standard click events. Because Boulder Bop uses standard click event handlers, the game is automatically touch enabled (in Internet Explorer 10 and later), with no extra code required. However, pointer and gesture events and other more complicated events typically require extra code.
Important Internet Explorer 10 on Windows 7 doesn't support touch.
In the next topic (HTML5 game control flow), we describe Boulder Bop in detail by walking through a typical flow of control scenario.