HTML5 - Scrolling Demo

This is a demo to test the performance of HTML5 and Canvas with a scrolling game. While the performance is not quite as fast as AS3, it appears HTML5 is well suited for the development of casual 2D games or applications. Using the arrow keys or touch screen (press where you want to drive to) for scrolling, HTML5 has no problem rendering several background/foreground layers on older desktops or tablets that have been released in the past two or three years. The frame rate can be seen at the bottom.

Pressing the fullscreen button (in the upper right corner) scales the game to the full browser size, which is great for mobile devices.

Frame rate: