WebGLRenderer#clearBeforeRender

clearBeforeRender : boolean This sets if the WebGLRenderer will clear the context texture or not before the new render pass. If true:If the Stage is NOT transparent, Pixi will clear to alpha (0, 0, 0, 0).If the Stage is transparent, Pixi will clear to the target Stage's background color.Disable this by setting this to false. For example: if your game has a canvas filling background image, you often don't need this set. Source code: pixi/renderers/webgl/WebGLRenderer.js (Line 69)

Sprite#addChild()

addChild(child) → {DisplayObject} Adds a child to the container. Parameters Name Type Description child DisplayObject The DisplayObject to add to the container Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChild Source code: pixi/display/DisplayObjectContainer.js (Line 42)

Rectangle#left

left : number The x coordinate of the left of the Rectangle. Changing the left property of a Rectangle object has no effect on the y and height properties. However it does affect the width property, whereas changing the x value does not affect the width property. Source code: geom/Rectangle.js (Line 540)

Graphics#postUpdate()

postUpdate() Automatically called by World Source code: gameobjects/Graphics.js (Line 117)

Physics.P2#convertTilemap()

convertTilemap(map, layer, addToWorld, optimize) → {array} Goes through all tiles in the given Tilemap and TilemapLayer and converts those set to collide into physics bodies.Only call this after you have specified all of the tiles you wish to collide with calls like Tilemap.setCollisionBetween, etc.Every time you call this method it will destroy any previously created bodies and remove them from the world.Therefore understand it's a very expensive operation and not to be done in a core game u

Stage#visibilityChange()

visibilityChange(event) This method is called when the document visibility is changed. Parameters Name Type Description event Event Its type will be used to decide whether the game should be paused or not. Source code: core/Stage.js (Line 281)

Rope#kill()

kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive, exists and visible properties all set to false. It will dispatch the onKilled event. You can listen to events.onKilled for the signal. Note that killing a Game Object is a way for you to quickly recycle it in an object pool,it doesn't destroy the object or free it up from memory. If you don't need this Game Object any more you should call destroy instead. Returns PIXI.DisplayObject - This instance. I

Physics.P2.BodyDebug#addMultiple()

addMultiple(children, silent) → {Array.<DisplayObject> | Phaser.Group} Adds an array of existing Display Objects to this Group. The Display Objects are automatically added to the top of this Group, and will render on-top of everything already in this Group. As well as an array you can also pass another Group as the first argument. In this case all of the children from thatGroup will be removed from it and added into this Group. If Group.enableBody is set, then a physics body will be cre

Creature#lifespan

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born' you can set this to a positive value. It is automatically decremented by the millisecond equivalent of game.time.physicsElapsed each frame.When it reaches zero it will call the kill method. Very handy for particles, bullets, collectibles, or any other short-lived entity. Inherited From Phaser.Component.LifeSpan#lifespan Source code: gameobjects/components/LifeSpan.js (

World#getByName()

getByName(name) → {any} Searches the Group for the first instance of a child with the nameproperty matching the given argument. Should more than one child havethe same name only the first instance is returned. Parameters Name Type Description name string The name to search for. Returns any - The first child with a matching name, or null if none were found. Inherited From Phaser.Group#getByName Source code: core/Group.js (Line 1042)