<static> xmlBitmapFont(xml, baseTexture, xSpacing, ySpacing)
removeImage(key, destroyBaseTexture) Removes an image from the cache. You can optionally elect
checkURL(url) → {boolean} Checks if the given URL has been loaded into the Cache.This method
checkTextKey(key) → {boolean} Checks if the given key exists in the Text Cache. Parameters
spritesheet(key, url, frameWidth, frameHeight, frameMax, margin, spacing)
updateFrameData(key, frameData, cache) Replaces a set of frameData with a new Phaser.FrameData object
isSoundDecoded(key) → {boolean} Check if the given sound has finished decoding. Parameters
addShader(key, url, data) Adds a Fragment Shader in to the Cache. The file must have already been loaded, typically via Phaser.Loader
new Cache(game) Phaser has one single cache in which it stores all assets. The cache is split up into sections, such as images
bitmapFont(key, textureURL, atlasURL, atlasData, xSpacing, ySpacing) → {
Page 6 of 16