new BodyDebug(game, body, settings) Draws a P2 Body to a Graphics instance for visual debugging.Needless to say, for every body
addMultiple(children, silent) → {Array.<
removeAll(destroy, silent, destroyTexture) Removes
xy(index, x, y) Positions the child found at the given index within this group to the given x and y coordinates. Parameters
width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
body : Phaser.Physics.P2.Body
getFirstExists(exists, createIfNull, x, y,
ppu : number Pixels per Length Unit. Source code:
setAllChildren(key, value, checkAlive, checkVisible, operation,
filter(predicate, checkExists) → {Phaser
Page 3 of 13