Preface

Designing, building and publishing games is not an easy task. One of the most challenging parts about publishing a game is how to distribute and monetize it. This is even more daunting when it comes to HTML5 games since cross browser compatibility and viable distribution channels are still maturing. Windows 8 offers an incredible opportunity for independent game developers looking to distribute and monetize their HTML5 based game. This book will cover everything you need to know about porting over your web based JavaScript game to Window 8, how to integrate support for WinJS (the JavaScript communication layer to the native OS), and how to publish and sell your game on the Windows 8 Store. This book is a must read for anyone looking to seriously develop HTML5 games!

Audience

While this book was designed for web and game developers who already have a HTML5 game ready to port over to Windows 8, I did my best to cover useful information for anyone simply interested in publishing an HTML5 game to the Window Store. While this book may not directly help you if this is your first time making an HTML5 it will give you a detailed overview of everything that goes into running HTML5 games on Windows 8.

Assumptions This Book Makes

This book assumes that you have a working knowledge of HTML, JavaScript and have made a HTML5 game before. I also assume you already have at least one game ready to port over. While there is a chapter that covers porting an existing open source HTML5 game over you will need to have some working knowledge of the underlying language and technology needed to successfully publish any HTML5 game.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Tip

This icon signifies a tip, suggestion, or general note.

Caution

This icon indicates a warning or caution.

Safari® Books Online

Note

Safari Books Online (www.safaribooksonline.com) is an on-demand digital library that delivers expert content in both book and video form from the world’s leading authors in technology and business.

Technology professionals, software developers, web designers, and business and creative professionals use Safari Books Online as their primary resource for research, problem solving, learning, and certification training.

Safari Books Online offers a range of product mixes and pricing programs for organizations, government agencies, and individuals. Subscribers have access to thousands of books, training videos, and prepublication manuscripts in one fully searchable database from publishers like O’Reilly Media, Prentice Hall Professional, Addison-Wesley Professional, Microsoft Press, Sams, Que, Peachpit Press, Focal Press, Cisco Press, John Wiley & Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FT Press, Apress, Manning, New Riders, McGraw-Hill, Jones & Bartlett, Course Technology, and dozens more. For more information about Safari Books Online, please visit us online.

How to Contact Us

Please address comments and questions concerning this book to the publisher:

O’Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
800-998-9938 (in the United States or Canada)
707-829-0515 (international or local)
707-829-0104 (fax)

We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at http://oreil.ly/HTML5-Games-Windows-8.

To comment or ask technical questions about this book, send email to .

For more information about our books, courses, conferences, and news, see our website at http://www.oreilly.com.

Find us on Facebook: http://facebook.com/oreilly

Follow us on Twitter: http://twitter.com/oreillymedia

Watch us on YouTube: http://www.youtube.com/oreillymedia

Acknowledgments

First and foremost, I would like to thank my wife and sons for all their support while I was making this book. I’d also like to thank my parents and family for all their help and support over the years. I also have a lot of respect for all the thought leaders in the development community who continue to inspire me such as Christer Kaitila, Keith Peters, Chuck Freedman, Sean McCracken, Joel Hooks, Brendan Lee, Scott Penberthy, Seb Lee-Delisle, Rich Shupe, Jobe Makar, and especially Richard Davey who keeps pushing me to make better games.

Thank you as well to Rachel Roumeliotis from O’Reilly Media, Inc. for providing me with this opportunity and to David Isbitski and everyone else at Microsoft who helped make this possible. I also couldn’t have done this book without the help from my amazing tech editor Dave Voyles.

Finally I wanted to give a special thanks to Iñaki Diaz for helping me create the pixel art in my games.

Get Releasing HTML5 Games for Windows 8 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.