x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.
play(name, frameRate, loop, killOnComplete) → {
renderable : boolean Whether this sprite is renderable or not Inherited
body : Phaser.Physics.Arcade.Body |
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
getBounds() → {Rectangle} Returns the framing rectangle of the sprite as a PIXI.Rectangle object
frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the
tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this)
health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
Page 8 of 11