2015 | OriginalPaper | Chapter
3. Working with Game Assets
Published in:
Advanced Game Design with HTML5 and JavaScript
Abstract
A game’s assets are all the font, sound, data, and image files that it uses. In this chapter you’ll learn how to implement a clear strategy for loading and managing assets so that they’re easy to use in your game code. You’ll learn how to create an assets object that stores references to all your game assets, and also how to create a preloader that loads assets and initializes your game when everything is ready.