boxart / boxart-boiler

A boilerplate for Responsive DOM based Open Web Games.
MIT License
13 stars 4 forks source link

Asset Pre-Caching/Loading #10

Open MattSurabian opened 8 years ago

MattSurabian commented 8 years ago

When an asset is needed by the application, we should be able to display it immediately. Networking is slow, so requesting the asset only when needed would introduce lag. We should be able to instruct the browser to download a set of assets ahead of time, so that when we need to display them to the user they are immediately available.

PreCaching:

Loading:

kadamwhite commented 8 years ago

38 should come before this ticket