phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
13 lines (12 loc) • 1.05 kB
JavaScript
/**
* @typedef {object} Phaser.Types.Loader.FileTypes.MultiAtlasFileConfig
*
* @property {string} key - The key of the file. Must be unique within both the Loader and the Texture Manager.
* @property {string} [atlasURL] - The absolute or relative URL to load the multi atlas json file from. Or, a well formed JSON object.
* @property {string} [url] - An alias for 'atlasURL'. If given, it overrides anything set in 'atlasURL'.
* @property {string} [atlasExtension='json'] - The default file extension to use for the atlas json if no url is provided.
* @property {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - Extra XHR Settings specifically for the atlas json file.
* @property {string} [path] - Optional path to use when loading the textures defined in the atlas data.
* @property {string} [baseURL] - Optional Base URL to use when loading the textures defined in the atlas data.
* @property {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - Extra XHR Settings specifically for the texture files.
*/