RetroFont#characterHeight

characterHeight : number The height of each character in the font set. Source code: gameobjects/RetroFont.js (Line 45)

RetroFont#buildRetroFontText()

buildRetroFontText() Updates the texture with the new text. Source code: gameobjects/RetroFont.js (Line 328)

RetroFont#baseTexture

baseTexture : PIXI.BaseTexture The base texture object that this texture uses Inherited From PIXI.RenderTexture#baseTexture Source code: pixi/textures/RenderTexture.js (Line 78)

RetroFont#autoUpperCase

autoUpperCase : boolean Automatically convert any text to upper case. Lots of old bitmap fonts only contain upper-case characters, so the default is true. Default Value true Source code: gameobjects/RetroFont.js (Line 89)

RetroFont#align

align : string Alignment of the text when multiLine = true or a fixedWidth is set. Set to RetroFont.ALIGN_LEFT (default), RetroFont.ALIGN_RIGHT or RetroFont.ALIGN_CENTER. Source code: gameobjects/RetroFont.js (Line 77)

RequestAnimationFrame#updateSetTimeout()

updateSetTimeout() The update method for the setTimeout. Source code: utils/RequestAnimationFrame.js (Line 119)

RequestAnimationFrame#updateRAF()

updateRAF() The update method for the requestAnimationFrame Source code: utils/RequestAnimationFrame.js (Line 103)

RequestAnimationFrame#stop()

stop() Stops the requestAnimationFrame from running. Source code: utils/RequestAnimationFrame.js (Line 134)

RequestAnimationFrame#start()

start() Starts the requestAnimationFrame running or setTimeout if unavailable in browser Source code: utils/RequestAnimationFrame.js (Line 70)

RequestAnimationFrame#RequestAnimationFrame

new RequestAnimationFrame(game, forceSetTimeOut) Abstracts away the use of RAF or setTimeOut for the core game update loop. Parameters Name Type Argument Default Description game Phaser.Game A reference to the currently running game. forceSetTimeOut boolean <optional> false Tell Phaser to use setTimeOut even if raf is available. Source code: utils/RequestAnimationFrame.js (Line 15)