async preload({images, sounds} = {})
  {
    // note that we don't use Promise.all here
    // since images have to be loaded over the network first
    // and then uploaded to the gpu
    return Assets.load({ images, sounds }, this.onLoadProgress.bind(this))
      .then(() => Assets.prepareImages(images));
  }
/**
   * Define the assets used by this scene, so they can be loaded
   * and used by all subsequent scenes
   */
Define the assets used by this scene, so they can be loaded
and used by all subsequent scenes
Define the assets used by this scene so they can be loaded and used by all subsequent scenes
async preload({images, sounds} = {})
  {
    return Assets.load({ images, sounds }, this.onLoadProgress.bind(this))
      .then(() => Assets.prepareImages(images));
  }
async preload ( { images , sounds } = { } ) { return Assets . load ( { images , sounds } , this . onLoadProgress . bind ( this ) ) . then ( ( ) => Assets . prepareImages ( images ) ) ; }
Define the assets used by this scene, so they can be loaded
 and used by all subsequent scenes
Define the assets used by this scene so they can be loaded and used by all subsequent scenes
// note that we don't use Promise.all here // since images have to be loaded over the network first // and then uploaded to the gpu