BaseTexture#BaseTexture

new BaseTexture(source, scaleMode) A texture stores the information that represents an image. All textures have a base texture. Parameters Name Type Description source String | Canvas the source object (image or canvas) scaleMode Number See {{#crossLink "PIXI/scaleModes:property"}}PIXI.scaleModes{{/crossLink}} for possible values Source code: pixi/textures/BaseTexture.js (Line 5)

Group#swap()

swap(child1, child2) Swaps the position of two children in this group. Both children must be in this group, a child cannot be swapped with itself, and unparented children cannot be swapped. Parameters Name Type Description child1 any The first child to swap. child2 any The second child to swap. Source code: core/Group.js (Line 891)

Cache#removeRenderTexture()

removeRenderTexture(key) Removes a Render Texture from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1852)

Key#downDuration()

downDuration(duration) → {boolean} Returns true if the Key was pressed down within the duration value given, or false if it either isn't down,or was pressed down longer ago than then given duration. Parameters Name Type Argument Default Description duration number <optional> 50 The duration within which the key is considered as being just pressed. Given in ms. Returns boolean - True if the key was pressed down within the given duration. Source code: input/Key.js (Line 253)

Particle#moveUp()

moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list.This call has no effect if the Game Object is already at the top of the display list. If this Game Object hasn't been added to a custom Group then this method will move it one object up within the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#moveUp Source code: game

RetroFont.TEXT_SET4

[static] TEXT_SET4 : string Text Set 4 = ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 Source code: gameobjects/RetroFont.js (Line 224)

BitmapData#blendSourceOver()

blendSourceOver() → {Phaser.BitmapData} Sets the blend mode to 'source-over' Returns Phaser.BitmapData - This BitmapData object for method chaining. Source code: gameobjects/BitmapData.js (Line 2052)

BitmapText#pendingDestroy

pendingDestroy : boolean A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic update.You can set it directly to allow you to flag an object to be destroyed on its next update. This is extremely useful if you wish to destroy an object from within one of its own callbackssuch as with Buttons or other Input events. Inherited From Phaser.Component.Core#pendingDestroy Source code: gameobjects/components/Core.js (Line 259)

Sprite#pendingDestroy

pendingDestroy : boolean A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic update.You can set it directly to allow you to flag an object to be destroyed on its next update. This is extremely useful if you wish to destroy an object from within one of its own callbackssuch as with Buttons or other Input events. Inherited From Phaser.Component.Core#pendingDestroy Source code: gameobjects/components/Core.js (Line 259)

Component.Crop#crop()

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting a crop rectangle modifies the core texture frame. The Game Object width and height properties will be adjusted accordingly. Cropping takes place from the top-left and can be modified in real-time either by providing an updated rectangle object to this method,or by modifying cropRect property directly and then calling updateCrop. The rectangle object given to this method can be either a Phaser.R