[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
scrollFactorX : number Speed at which this layer scrolls horizontally, relative to the camera (e.g. scrollFactorX of 0.5 scrolls
getTileLeft(layer, x, y) Gets the tile to the left of the tile coordinates given.Mostly used as an internal function by calculateFaces
removeAllLayers() Removes all layers from this tile map. Source code:
getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces
setImage(image) Set the image associated with this Tileset and update the tile data. Parameters
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values
[readonly] deltaY : number Returns the delta y value. The difference between world.y now and
[readonly] columns : integer The number of tile columns in the tileset.
Page 1 of 25