Cover page by James L. Williams

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

11. Publishing Your Games

The first ten chapters of this book dealt primarily with learning about HTML5 and associated technologies and developing games. In this chapter, we shift our focus and cover how to deploy your games with a good measure of optimization thrown in. Applications on the Web live and die based on their speed. Optimization and effective use of offline cache are important pieces of the puzzle when pushing out your work to the masses.

Optimizing Your Game’s Assets

We are making games, so lots of our payload will be in the games’ logic. In an attempt to write code that you will understand in six months’ or a year’s time, you may have painstakingly commented and formatted your code. Or not. The problem with all those comments is ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required