[readonly] fresh : boolean A Game Object is considered fresh if it has just been
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
play(name, frameRate, loop, killOnComplete) → {
[readonly] renderOrderID : number The render order ID is used internally by the renderer and
[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate
width : number The width of the sprite, setting this will actually modify the scale to achieve the value set
frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the
loadTexture(key, frame, stopAnimation) Changes the base texture the Game
key : string | Phaser.RenderTexture |
lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'
Page 7 of 9