Namespace: FileTypes

Phaser.Loader. FileTypes

Classes

AnimationJSONFile
AtlasJSONFile
AtlasXMLFile
AudioFile
AudioSpriteFile
BinaryFile
BitmapFontFile
CSSFile
GLSLFile
HTML5AudioFile
HTMLFile
HTMLTextureFile
ImageFile
JSONFile
MultiAtlasFile
MultiScriptFile
PackFile
PluginFile
SceneFile
ScenePluginFile
ScriptFile
SpineFile
SpriteSheetFile
SVGFile
TextFile
TilemapCSVFile
TilemapImpactFile
TilemapJSONFile
UnityAtlasFile
VideoFile
XMLFile

Type Definitions


SpineFileConfig

Type:
  • object
Properties:
Name Type Argument 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 XHRSettingsObject <optional>

Extra XHR Settings specifically for the texture image file.

normalMap string <optional>

The filename of an associated normal map. It uses the same path and url to load as the texture image.

atlasURL string <optional>

The absolute or relative URL to load the atlas data file from.

atlasExtension string <optional>
'txt'

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

atlasXhrSettings XHRSettingsObject <optional>

Extra XHR Settings specifically for the atlas data file.

Source: plugins/spine/src/SpineFile.js (Line 15)