Introduction
Just because your game is developed for the web using HTML5 doesn’t mean that’s where it has to stay. There are a number of ways you can package your game so that it’s playable in the various app stores. For the desktop version of your game, this chapter shows you how to publish your game in the Chrome Web Store. For packaging mobile versions of your app, you examine two technologies: Ludei’s CocoonJS and AppMobi’s DirectCanvas. Both of these technologies enable you to take a Canvas HTML5 game and package it into a native app that replaces the normal Canvas rendering calls with hardware-accelerated OpenGL ES calls, greatly boosting the graphical performance of your HTML5 games with only a few code changes. The generated apps can then be distributed in the various mobile app stores, including the Apple App Store and Google Play.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access