Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How to make your HTML5 game playable offline?

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2014/09/17
Muhammad Waqas
par Muhammad Waqas , C#/.Net Developer , Signup solution

TL;DR: There are only really two techniques you should use to make your game playable offline: Web Storage (local storage) and Appcache. Use local storage to store only information and not to store your games files and assets (especially JavaScript). Use Appcache to cache your games files and assets, explicitly caching all of your files and assets into the manifest file upfront (you’re not going to be able to do much else).

More Questions Like This