Phaser API Documentation

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

The key of the file. Must be unique within both the Loader and the Texture Manager.

textureURL string <optional>

The absolute or relative URL to load the texture image file from.

textureExtension string <optional> 'png'

The default file extension to use for the image texture if no url is provided.

textureXhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for the texture image file.

atlasURL object | string <optional>

The absolute or relative URL to load the atlas json file from. Or, a well formed JSON object to use instead.

atlasExtension string <optional> 'json'

The default file extension to use for the atlas json if no url is provided.

atlasXhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for the atlas json file.

Type:
object