Cache.TEXT
  • References/Game Development/Phaser/Loader/Cache

[static] TEXT : number Source code:

2025-01-10 15:47:30
Cache#removeSound()
  • References/Game Development/Phaser/Loader/Cache

removeSound(key) Removes a sound from the cache. If any Phaser.Sound objects use the audio file in the cache that

2025-01-10 15:47:30
Cache#getXML()
  • References/Game Development/Phaser/Loader/Cache

getXML(key) → {object} Gets an XML object from the cache. The object is looked-up based on

2025-01-10 15:47:30
Cache#checkURL()
  • References/Game Development/Phaser/Loader/Cache

checkURL(url) → {boolean} Checks if the given URL has been loaded into the Cache.This method

2025-01-10 15:47:30
Cache.TEXTURE
  • References/Game Development/Phaser/Loader/Cache

[static] TEXTURE : number Source code:

2025-01-10 15:47:30
Cache#updateFrameData()
  • References/Game Development/Phaser/Loader/Cache

updateFrameData(key, frameData, cache) Replaces a set of frameData with a new Phaser.FrameData object

2025-01-10 15:47:30
Cache#Cache
  • References/Game Development/Phaser/Loader/Cache

new Cache(game) Phaser has one single cache in which it stores all assets. The cache is split up into sections, such as images

2025-01-10 15:47:30
Cache#checkTextKey()
  • References/Game Development/Phaser/Loader/Cache

checkTextKey(key) → {boolean} Checks if the given key exists in the Text Cache. Parameters

2025-01-10 15:47:30
Cache#checkCanvasKey()
  • References/Game Development/Phaser/Loader/Cache

checkCanvasKey(key) → {boolean} Checks if the given key exists in the Canvas Cache. Parameters

2025-01-10 15:47:30
Cache#isSoundDecoded()
  • References/Game Development/Phaser/Loader/Cache

isSoundDecoded(key) → {boolean} Check if the given sound has finished decoding. Parameters

2025-01-10 15:47:30