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.
Creating and moving a single character or shape in an HTML5 game is pretty straightforward, but a game with only one enemy is probably going to be dull. As you add more movable elements to your game, the complexity of rendering those elements increases rapidly unless you implement a sound approach to creating and managing them. In this video, we'll look at techniques and patterns for creating and managing game objects, with the goal of creating simpler and more maintainable code.