name | type | arguments | Default | description |
---|---|---|---|---|
key | string |
The key of the file. Must be unique within both the Loader and the Tilemap Cache. |
||
url | object | string | <optional> |
The absolute or relative URL to load the file from. Or, a well formed JSON object. |
|
extension | string | <optional> | 'json' |
The default file extension to use if no url is provided. |
xhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for this file. |