getURL(url) → {object} Get a cached object by the URL.This only returns a value if you set
new Loader(game) The Loader handles loading all external content such as Images, Sounds, Texture Atlases and data files. The
pack(key, url, data, callbackContext) → {
_withSyncPointDepth A counter: if more than zero, files will be automatically added as a synchronization point. Properties:
addBitmapFont(key, url, data, atlasData, atlasType, xSpacing, ySpacing)
addSpriteSheet(key, url, data, frameWidth, frameHeight, frameMax, margin, spacing)
addTilemap(key, url, mapData, format) Add a new tilemap to the Cache. Parameters
getSound(key) → {Phaser.Sound}
[static] SOUND : number Source code:
removeBinary(key) Removes a binary file from the cache. Note that this only removes it from the Phaser.Cache. If you still have
Page 1 of 16