generateTilingTexture(forcePowerOfTwo, renderSession) Parameters Name Type
new State() This is a base State class which can be extended if you are creating your own game.It provides quick access to common
fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
getCollisionMask() → {number} Gets the collision bitmask from the groups this body collides with
getText(key) → {object} Gets a Text object from the cache. The object is looked-up based
addContactMaterial(material) → {
new Text(game, x, y, text, style) Create a new game object for displaying Text. This uses a local
ctx :CanvasRenderingContext2D A reference to BitmapData.context. Source code:
onBlur : Phaser.Signal This event is fired when the
Page 24 of 100