pack(key, url, data, callbackContext) → {
new Loader(game) The Loader handles loading all external content such as Images, Sounds, Texture Atlases and data files. The
updateSound(key) Updates the sound object in the cache. Parameters
_withSyncPointDepth A counter: if more than zero, files will be automatically added as a synchronization point. Properties:
getShader(key) → {string} Gets a fragment shader object from the cache. The object is looked-up
image(key, url, overwrite) → {
getURL(url) → {object} Get a cached object by the URL.This only returns a value if you set
getBitmapFont(key) → {Phaser.BitmapFont} Gets a Bitmap Font object from the cache. The object
addSpriteSheet(key, url, data, frameWidth, frameHeight, frameMax, margin, spacing)
[static] PHYSICS : number Source code:
Page 1 of 16