resizeWorld() Sets the world size to match the size of this layer. Source code:
setCollision(indexes, collides, layer, recalculate)
collisionCallback : Function Tile collision callback. Source code:
<static> parseJSON(json) → {object} Parses a Tiled JSON
debug : boolean Enable an additional "debug rendering" pass to display collision information.
getTiles(x, y, width, height, collides, interestingFace) → {array.<
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle
tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.
alignTo(parent, position, offsetX, offsetY) → {Object}
Page 3 of 25