debug : boolean Enable an additional "debug rendering" pass to display collision information.
setScale(xScale, yScale) This method will set the scale of the tilemap as
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values
resizeWorld() Sets the world size to match the size of this layer. Source code:
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
alignTo(parent, position, offsetX, offsetY) → {Object}
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
Page 1 of 12