Group#addChildAt()

addChildAt(child, index) → {DisplayObject} Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown Parameters Name Type Description child DisplayObject The child to add index Number The index to place the child in Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 55)

Color.interpolateRGB()

<static> interpolateRGB(r1, g1, b1, r2, g2, b2, steps, currentStep) → {number} Interpolates the two given colours based on the supplied step and currentStep properties. Parameters Name Type Description r1 number The red color value, between 0 and 0xFF (255). g1 number The green color value, between 0 and 0xFF (255). b1 number The blue color value, between 0 and 0xFF (255). r2 number The red color value, between 0 and 0xFF (255). g2 number The green color value, between 0 and

Physics.P2#createParticle()

createParticle(x, y, mass, addToWorld, options, points) Creates a new Particle and adds it to the World. Parameters Name Type Argument Default Description x number The x coordinate of Body. y number The y coordinate of Body. mass number The mass of the Body. A mass of 0 means a 'static' Body is created. addToWorld boolean <optional> false Automatically add this Body to the world? (usually false as it won't have any shapes on construction). options object A

TileSprite#generateTilingTexture()

generateTilingTexture(forcePowerOfTwo, renderSession) Parameters Name Type Description forcePowerOfTwo Boolean Whether we want to force the texture to be a power of two renderSession RenderSession - Inherited From PIXI.TilingSprite#generateTilingTexture Source code: pixi/extras/TilingSprite.js (Line 332)

RetroFont.TEXT_SET7

[static] TEXT_SET7 : string Text Set 7 = AGMSY+:4BHNTZ!;5CIOU.?06DJPV,(17EKQW")28FLRX-'39 Source code: gameobjects/RetroFont.js (Line 245)

Graphics#getChildAt()

getChildAt(index) → {DisplayObject} Returns the child at the specified index Parameters Name Type Description index Number The index to get the child from Returns DisplayObject - The child at the given index, if any. Inherited From PIXI.DisplayObjectContainer#getChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 153)

Sprite#play()

play(name, frameRate, loop, killOnComplete) → {Phaser.Animation} Plays an Animation. The animation should have previously been created via animations.add. If the animation is already playing calling this again won't do anything.If you need to reset an already running animation do so directly on the Animation object itself or via AnimationManager.stop. Parameters Name Type Argument Default Description name string The name of the animation to be played, e.g. "fire", "walk", "jump". Must

Filter#setResolution()

setResolution(width, height) Set the resolution uniforms on the filter. Parameters Name Type Description width number The width of the display. height number The height of the display. Source code: core/Filter.js (Line 112)

Physics.P2#restitution

restitution : number Default coefficient of restitution between colliding bodies. This value is used if no matching ContactMaterial is found for a Material pair. Source code: physics/p2/World.js (Line 1859)

TweenManager#create()

create(object) → {Phaser.Tween} Create a tween object for a specific object. The object can be any JavaScript object or Phaser object such as Sprite. Parameters Name Type Description object object Object the tween will be run on. Returns Phaser.Tween - The newly created tween object. Source code: tween/TweenManager.js (Line 203)