health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.
[static] WEST : number Source code:
[readonly] total : integer The total number of tiles in the tileset.
update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate
centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)
objects :array An array of Tiled Object Layers. Source code:
version : number The version of the map data (as specified in Tiled, usually 1). Source
width : number The width of the tile in pixels. Source code:
firstgid : integer The Tiled firstgid value.This is the starting index of the first tile index this Tileset contains.
setCollision(left, right, up, down) Sets the collision flags for each side of this tile and updates the interesting faces list.
Page 7 of 25