Twin Cities Code Camp

Rob Robinson

Responsive Animation with HTML5, CSS3 and the JavaScript Canvas

by Rob Robinson

Wed, Apr 01, 2015
Room:
Time: 0:00

Creating HTML5 games and animated applications that run in any recent browser on any desktop, laptop, tablet or smart phone requires planning and a few special techniques. Topics covered are: Planning the scenes and interactions, designing the layout, detecting the device and window size, sizing the canvas, scaling the graphics, performing animations, responding to keyboard and mouse events on laptops and desktops, responding to touch events on tablets and smart phones, and completing the game with appropriate interactions. A simple “Keep Away” game will be used to demonstrate the techniques.


About the Author