Book Image

HTML5 Game Development by Example: Beginner's Guide

By : Seng Hin Mak
Book Image

HTML5 Game Development by Example: Beginner's Guide

By: Seng Hin Mak

Overview of this book

Table of Contents (18 chapters)
HTML5 Game Development by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
9
Building a Physics Car Game with Box2D and Canvas
Index

Caching the game for offline access


We can enable an offline cache by using the AppCache Manifest document. After the page first loads from the Internet, its related files are cached in the device and the user can load the page and play the game even if the device is in offline mode, such as airplane mode.