Developing HTML5 Games from Scratch: Drawing and Animation

Purchase a Subscription!

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Instructor

G. Andrew Duthie

Description

Without animation, a game is nothing more than static elements on a page...which, let’s face it, isn’t very entertaining. In this session, Andrew reviews the basics of drawing using the HTML5 Canvas API, and then introduces canvas animation. Among other things, you'll learn how to enact a game loop, how to use requestAnimationFrame, and how to ensure consistent movement over time, even when the frame rate varies.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)

Series

This course is part of the following series: