height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
scaleMin : Phaser.Point The minimum scale this Game
new Sprite(game, x, y, key, frame) Sprites are the lifeblood of your game, used for nearly everything visual. At its most basic
moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list
getChildIndex(child) → {Number} Returns the index position of a child DisplayObject instance
addChild(child) → {DisplayObject}
preUpdate() → {boolean} Automatically called by World.preUpdate. Returns
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
body : Phaser.Physics.Arcade.Body |
frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the
Page 10 of 11