alignIn(container, position, offsetX, offsetY)
getTiles(x, y, width, height, collides, interestingFace) → {array.<
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
resizeWorld() Sets the world size to match the size of this layer. Source code:
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle
angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values
scrollFactorX : number Speed at which this layer scrolls horizontally, relative to the camera (e.g. scrollFactorX of 0.5 scrolls
alignTo(parent, position, offsetX, offsetY) → {Object}
Page 2 of 12