[static] TEXT : number Source code:
checkURL(url) → {boolean} Checks if the given URL has been loaded into the Cache.This method
addSound(key, url, data, webAudio, audioTag) Adds a Sound file into the Cache. The file must have already been loaded, typically via
isSoundDecoded(key) → {boolean} Check if the given sound has finished decoding. Parameters
[static] BITMAPDATA : number Source code:
removeImage(key, destroyBaseTexture) Removes an image from the cache. You can optionally elect
removeSound(key) Removes a sound from the cache. If any Phaser.Sound objects use the audio file in the cache that
checkImageKey(key) → {boolean} Checks if the given key exists in the Image Cache. Note that this
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
Page 4 of 11