Skip to main content

HTML5 Game Development For Dummies

HTML5 Game Development For Dummies

Andy Harris

ISBN: 978-1-118-23652-9

Apr 2013

384 pages

Select type: E-Book

Product not available for purchase


Create games with graphics that pop for the web and mobile devices!

HTML5 is the tool game developers and designers have been eagerly awaiting. It simplifies the job of creating graphically rich, interactive games for the Internet and mobile devices, and this easy-to-use guide simplifies the learning curve. Illustrated in full color, the book takes you step by step through the basics of HTML5 and how to use it to build interactive games with 2D graphics, video, database capability, and plenty of action. Learn to create sports and adventure games, pong games, board games, and more, for both mobile devices and the standard web.

  • Learn to use the new HTML5 technology that makes it easier to create games with lots of action, colorful 2D graphics, and interactivity--for both the web and mobile devices
  • Test and debug your games before deploying them
  • Take advantage of how HTML5 allows for SQL-like data storage, which is especially valuable if you're not well versed in database management
  • Explore creating games suitable for community activity and powerful, profitable games that require large amounts of data

Whether you want to build games as a fun hobby or hope to launch a new career, this full-color guide covers everything you need to know to make the most of HTML5 for game design.

Introduction 1

About This Book 2

What You Will Need 2

How to Read This Book 3

How This Book Is Organized 4

Part I: Building the Foundation 4

Part II: Basic Game Development 4

Part III: Diving Deeper 5

Part IV: The Part of Tens 5

We Even Use the Internet Thingy! 5

Icons Used in This Book 6

Where to Go from Here 6

Part I: Building the Foundation  7

Chapter 1: Playing on the Web 9

Chapter 2: Talking to the User 35

Chapter 3: Coding Like a Pro 63

Chapter 4: Random Thoughts: Building a Simple Game 95

Part II: Basic Game Development 111

Chapter 5: Introducing simpleGamejs 113

Chapter 6: Creating Game Elements 133

Chapter 7: Getting to a Game 153

Part III: Diving Deeper 179

Chapter 8: Motion and Animation 181

Chapter 9: Going Mobile 211

Chapter 10: Documenting simpleGame 247

Part IV: The Part of Tens 261

Chapter 11: Ten Great Game Asset Resources 263

Chapter 12: Ten Concepts Behind simpleGame 275

Chapter 13: Ten Game Starters 305

Index 353

Code from Chapter 1
Code from Chapter 2
Code from Chapter 3
Code from Chapter 4
Code from Chapter 5
Code from Chapter 8
Code from Chapter 9
Code from Chapter 11
Code from Chapter 12
Code from Chapter 13
Please check back here for updates.