Pro HTML5 Games

  • Authors
  • Aditya Ravi Shankar

Table of contents

  1. Front Matter
    Pages i-xviii
  2. Aditya Ravi Shankar
    Pages 1-18
  3. Aditya Ravi Shankar
    Pages 19-38
  4. Aditya Ravi Shankar
    Pages 39-64
  5. Aditya Ravi Shankar
    Pages 65-99
  6. Aditya Ravi Shankar
    Pages 101-124
  7. Aditya Ravi Shankar
    Pages 125-163
  8. Aditya Ravi Shankar
    Pages 165-194
  9. Aditya Ravi Shankar
    Pages 195-230
  10. Aditya Ravi Shankar
    Pages 231-262
  11. Aditya Ravi Shankar
    Pages 263-292
  12. Aditya Ravi Shankar
    Pages 293-317
  13. Aditya Ravi Shankar
    Pages 319-339
  14. Back Matter
    Pages 341-345

About this book


Build your next game on a bigger scale with Pro HTML5 Games. This book teaches you the essentials of advanced game programming in HTML5. You’ll learn techniques that you can transfer to any area of HTML5 game development to make your own professional HTML5 games!

Led by an expert game programmer, you’ll build two complete games in HTML5: a strategy puzzle game based on the Box2d physics engine and in the style of Angry Birds and a real-time strategy (RTS) game complete with units, buildings, path-finding, artificial intelligence, and multiplayer support. In the process, you’ll learn how to do the following:

  • Create realistic physics in your game by incorporating the Box2d physics engine
  • Design large worlds with lots of characters and let users interact with them
  • Use sprite sheets, panning, parallax scrolling, and sound effects to build a more polished game
  • Incorporate pathfinding and steering to help characters navigate through your world
  • Create challenging levels with intelligent enemies by using decision trees, state machines, and scripted events
  • Add multiplayer in your games using Node.js and the WebSocket API

This book will help you take your HTML5/JavaScript programming experience to the next level. It gives you the knowledge and skills you need to develop more complex, bolder games and become an HTML5 games pro.

Bibliographic information

Industry Sectors