Skip to Main Content
Advanced Game Design with HTML5 and JavaScript
book

Advanced Game Design with HTML5 and JavaScript

by Rex van der Spuy
May 2015
Intermediate to advanced content levelIntermediate to advanced
552 pages
14h 38m
English
Apress
Content preview from Advanced Game Design with HTML5 and JavaScript
© Rex van der Spuy 2015
Rex van der SpuyAdvanced Game Design with HTML5 and JavaScript10.1007/978-1-4302-5801-8_3

3. Working with Game Assets

Rex van der Spuy
(1)
Ontario, Canada
 
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.
Games usually use a lot of images, and managing all those images can often be a big headache if you’re not smart about how you handle them. But fear not! Game designers ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Responsive Web Design with HTML5 and CSS - Fourth Edition

Responsive Web Design with HTML5 and CSS - Fourth Edition

Ben Frain

Publisher Resources

ISBN: 9781430258018Supplemental Content