Phaser API Documentation

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

The key of the file. Must be unique within the Loader.

url string <optional>

The absolute or relative URL to load the file from.

extension string <optional> 'js'

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

xhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for this file.

Type:
object