Contents
1.1.1 Sprites: The Cast of Characters
1.2 HTML5 Game Development Best Practices
1.2.1 Pause the Game When the Window Loses Focus
1.2.2 Implement a Countdown When the Window Regains Focus
1.2.4 Detect and React to Slowly Running Games
1.2.5 Incorporate Social Features
1.2.6 Put All the Game’s Images in a Single Sprite Sheet
1.2.7 Store High Scores and Send Realtime, In-game Metrics to the Server
1.5 Snail Bait’s Humble Beginning
1.6 The Use of JavaScript in This Book
Get Core HTML5 2D Game Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.