HTML5 Games Development by Example: Beginner's Guide

More Information
  • Start nice and simple: build a traditional Ping Pong game with two players playing in one computer
  • Create a CSS3-driven card game with transform and 3D flipping effects
  • Use the Canvas with multiple layers and the Drawing API to create a string untangle game
  • Frame-by-frame animation with sprite sheets
  • Create HTML5 game audio, and build a piano-based musical game
  • Store game data persistently using local storage
  • Building real-time network multiplayer games
  • Adding physics to your canvas games using the Box2D physics engine

HTML5 promises to be the hot new platform for online games. HTML5 games work on computers, smartphones, and tablets – including iPhones and iPads. Be one of the first developers to build HTML5 games today and be ready for tomorrow!

The book will show you how to use latest HTML5 and CSS3 web standards to build card games, drawing games, physics games and even multiplayer games over the network. With the book you will build 6 example games with clear step-by-step tutorials.

HTML5, CSS3 and related JavaScript API is the latest hot topic in Web. These standards bring us the new game market, HTML5 Games. With the new power from them, we can design games with HTML5 elements, CSS3 properties and JavaScript to play in browsers.

The book divides into 9 chapters with each one focusing on one topic. We will create 6 games in the book and specifically learn how we draw game objects, animate them, adding audio, connecting players and building physics game with Box2D physics engine.

  • Learn HTML5 game development by building six fun example projects
  • Full, clear explanations of all the essential techniques
  • Covers puzzle games, action games, multiplayer, and Box 2D physics
  • Use the Canvas with multiple layers and sprite sheets for rich graphical games
  • Harness CSS3 special effects to create polished, engaging puzzle games
Page Count 352
Course Length 10 hours 33 minutes
ISBN 9781849691260
Date Of Publication 24 Aug 2011



Makzan focuses on the fields of web development and game design. He has over 14 years of experience in building digital products. He has worked on real-time multiplayer interaction games, iOS applications, and rich interactive websites.

He has written three books, on building a Flash virtual world, and creating games with HTML5 and the latest web standards and developed a video course as well. He currently teaches courses in Hong Kong and Macao SAR. He writes tutorials and shares his know-how on