left : number The left coordinate of the Game Object.This is the same as x - offsetX.
key : string | Phaser.RenderTexture |
tileScaleOffset :Point A point that represents the scale of the texture object
checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
heal Heal the Game Object. This adds the given amount of health to the health property. Inherited
animations : Phaser.AnimationManager
new TileSprite(game, x, y, width, height, key, frame) A TileSprite is a Sprite that has a repeating texture. The texture can be scrolled
alignIn(container, position, offsetX, offsetY)
preUpdate() Automatically called by World.preUpdate. Source code:
Page 1 of 11