alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
game : Phaser.Game A reference to the currently running Game
Font:getHeight Gets the height of the Font. The height of the font is the size including any spacing; the height which it will need. Function Synopsis
setPreloadSprite(sprite, direction) Set a Sprite to be a "preload" sprite by passing it to this method
new Body(sprite) The Physics Body is linked to a single Sprite. All physics operations should be performed against the body rather than
localStorage : boolean Is localStorage available? Source code:
love.joystick.getAxis Removed in LÖVE 0.9.0 It has been moved to
outOfCameraBoundsKill : boolean If this and the autoCull property are both set to true, then the kill
resize(width, height) → {Phaser.Rectangle}
Page 43 of 100