Phaser API Documentation

  Version: 
BinaryFileConfig
Properties:
name type arguments Default description
key string

The key of the file. Must be unique within both the Loader and the Binary Cache.

url string <optional>

The absolute or relative URL to load the file from.

extension string <optional> 'bin'

The default file extension to use if no url is provided.

xhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for this file.

dataType any <optional>

Optional type to cast the binary file to once loaded. For example, Uint8Array.

Type:
object