Physics.Arcade#sortRightLeft()

sortRightLeft(a, b) → {integer} A Sort function for sorting two bodies based on a RIGHT to LEFT sort direction. This is called automatically by World.sort Parameters Name Type Description a Phaser.Sprite The first Sprite to test. The Sprite must have an Arcade Physics Body. b Phaser.Sprite The second Sprite to test. The Sprite must have an Arcade Physics Body. Returns integer - A negative value if a > b, a positive value if a < b or 0 if a === b or the bodies are invalid. S

Cache#addBitmapData()

addBitmapData(key, bitmapData, frameData) → {Phaser.BitmapData} Add a BitmapData object to the cache. Parameters Name Type Argument Default Description key string The key that this asset will be stored in the cache under. This should be unique within this cache. bitmapData Phaser.BitmapData The BitmapData object to be addded to the cache. frameData Phaser.FrameData | null <optional> (auto create) Optional FrameData set associated with the given BitmapData. If not speci

Physics.P2.BodyDebug#setProperty()

setProperty(child, key, value, operation, force) → {boolean} Sets a property to the given value on the child. The operation parameter controls how the value is set. The operations are: 0: set the existing value to the given value; if force is true a new property will be created if needed 1: will add the given value to the value already present. 2: will subtract the given value from the value already present. 3: will multiply the value already present by the given value. 4: will divide the val

Tween#stop()

stop(complete) → {Phaser.Tween} Stops the tween if running and flags it for deletion from the TweenManager.If called directly the Tween.onComplete signal is not dispatched and no chained tweens are started unless the complete parameter is set to true.If you just wish to pause a tween then use Tween.pause instead. Parameters Name Type Argument Default Description complete boolean <optional> false Set to true to dispatch the Tween.onComplete signal. Returns Phaser.Tween - This

Text#addFontStyle()

addFontStyle(style, position) → {Phaser.Text} Set specific font styles for certain characters within the Text. It works by taking a font style value, which is a typical string such as normal, italic or oblique.The position value is the index of the character in the Text string to start applying this font style to.Once set the font style remains in use until either another font style or the end of the string is encountered.For example if the Text was Photon Storm and you did Text.addFontStyle(

Physics.P2#onContactMaterialRemoved

onContactMaterialRemoved : Phaser.Signal This signal is dispatched when a Contact Material is removed from the World. It sends 1 argument: material which is the Phaser.Physics.P2.ContactMaterial that was removed from the world. Source code: physics/p2/World.js (Line 160)

Tilemap#collideIndexes

collideIndexes :array An array of tile indexes that collide. Source code: tilemap/Tilemap.js (Line 125)

Plugin#active

active : boolean A Plugin with active=true has its preUpdate and update methods called by the parent, otherwise they are skipped. Source code: core/Plugin.js (Line 33)

Physics.P2.BodyDebug#countLiving()

countLiving() → {integer} Get the number of living children in this group. Returns integer - The number of children flagged as alive. Inherited From Phaser.Group#countLiving Source code: core/Group.js (Line 2326)

RenderTexture#baseTexture

baseTexture : PIXI.BaseTexture The base texture object that this texture uses Inherited From PIXI.RenderTexture#baseTexture Source code: pixi/textures/RenderTexture.js (Line 78)