Optimal Asset Loading

Ian Ballantyne, Software Engineer, Turbulenz Limited
  • Colt McAnlis
  • Petter Lubbers
  • Brandon Jones
  • Duncan Tebbs
  • Andrzej Manzur
  • Sean Bennett
  • Florian d’Erfurth
  • Bruno Garcia
  • Shun Lin
  • Ivan Popelyshev
  • Jason Gauci
  • Jon Howard
  • Ian Ballantyne
  • Jesse Freeman
  • Takuo Kihira
  • Tyler Smith
  • Don Olmstead
  • John McCutchan
  • Chad Austin
  • Andres Pagella
Chapter

Abstract

Designing an efficient method of loading game asset data for HTML5 games is essential in creating a good user experience for players. When games can be played immediately in the browser with no prior downloading there are different considerations to make, not only for the first time play experience but also for future plays of the game. The assets referred to by this chapter are not the usual HTML, CSS, JavaScript, and other media that make up a web site, but are the game assets required specifically for the game experience. The techniques mentioned in this chapter go beyond dealing with the standard image and sound data usually handled by the browser and aim at helping you consider assets such as models, animations, shaders, materials, UIs, and other structural data that is not represented in code. Whether this data is in text or binary form (the “Data Formats” section will discuss both) it somehow needs to be transferred to the player’s machine so that the JavaScript code running the game can turn it into something amazing that players can interact with.

Keywords

Prefix 

Copyright information

© Colt McAnlis 2014

Authors and Affiliations

  • Colt McAnlis
    • 1
  • Petter Lubbers
    • 1
  • Brandon Jones
    • 1
  • Duncan Tebbs
    • 1
  • Andrzej Manzur
    • 1
  • Sean Bennett
    • 1
  • Florian d’Erfurth
    • 1
  • Bruno Garcia
    • 1
  • Shun Lin
    • 1
  • Ivan Popelyshev
    • 1
  • Jason Gauci
    • 1
  • Jon Howard
    • 1
  • Ian Ballantyne
    • 1
  • Jesse Freeman
    • 1
  • Takuo Kihira
    • 1
  • Tyler Smith
    • 1
  • Don Olmstead
    • 1
  • John McCutchan
    • 1
  • Chad Austin
    • 1
  • Andres Pagella
    • 1
  1. 1.CAUS

Personalised recommendations