O'Reilly logo

HTML5 Game Development HOTSHOT by Makzan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Distributing the game

The game is playable and fits in different screens. We are now ready to make the game public.

Prepare for lift off

YUI from Yahoo is a commonly used compressor. It can be installed and used locally as a standalone program. We can also use preprocessor tools such as the ones we mentioned in Project 6, Space Defenders, which come with the YUI-compressing option inside the tools. However, in this task, we make it simple by using an online compressor.

Engage thrusters

Let's work on the following steps to deploy our game on the Internet:

  1. We concatenate and compress the logic and the styling of files using a compressor. In this task, we use an online tool. The http://gpbmike.github.io/refresh-sf/ URL contains the Online JavaScript/CSS ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required