Namespace: FileTypes

Phaser.Loader. FileTypes

Classes

AnimationJSONFile
AsepriteFile
AtlasJSONFile
AtlasXMLFile
AudioFile
AudioSpriteFile
BinaryFile
BitmapFontFile
CSSFile
GLSLFile
HTML5AudioFile
HTMLFile
HTMLTextureFile
ImageFile
JSONFile
MultiAtlasFile
MultiScriptFile
OBJFile
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.

jsonURL string | Array.<string> <optional>

The absolute or relative URL to load the JSON file from. If undefined or null it will be set to <key>.json, i.e. if key was "alien" then the URL will be "alien.json".

atlasURL string <optional>

The absolute or relative URL to load the texture atlas data file from. If undefined or null it will be set to <key>.txt, i.e. if key was "alien" then the URL will be "alien.txt".

preMultipliedAlpha boolean <optional>
false

Do the textures contain pre-multiplied alpha or not?

jsonXhrSettings XHRSettingsObject <optional>

An XHR Settings configuration object for the json file. Used in replacement of the Loaders default XHR Settings.

atlasXhrSettings XHRSettingsObject <optional>

An XHR Settings configuration object for the atlas data file. Used in replacement of the Loaders default XHR Settings.

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