Button#resizeFrame()
  • References/Game Development/Phaser/Display/Button

resizeFrame(parent, width, height) Resizes the Frame dimensions that the Game Object uses for rendering. You shouldn't normally

2025-01-10 15:47:30
Button#setFrame()
  • References/Game Development/Phaser/Display/Button

setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by

2025-01-10 15:47:30
Button#reset()
  • References/Game Development/Phaser/Display/Button

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object

2025-01-10 15:47:30
Button#onOutSound
  • References/Game Development/Phaser/Display/Button

[readonly] onOutSound : Phaser.Sound |

2025-01-10 15:47:30
Button#moveDown()
  • References/Game Development/Phaser/Display/Button

moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list

2025-01-10 15:47:30
Button#type
  • References/Game Development/Phaser/Display/Button

[readonly] type : number The Phaser Object Type.

2025-01-10 15:47:30
Button#world
  • References/Game Development/Phaser/Display/Button

world : Phaser.Point The world coordinates of this

2025-01-10 15:47:30
Button#lifespan
  • References/Game Development/Phaser/Display/Button

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'

2025-01-10 15:47:30
Button#setUpSound()
  • References/Game Development/Phaser/Display/Button

setUpSound(sound, marker) The Sound to be played when a Pointer has pressed down and is released from

2025-01-10 15:47:30
Button#setScaleMinMax()
  • References/Game Development/Phaser/Display/Button

setScaleMinMax(minX, minY, maxX, maxY) Sets the scaleMin and scaleMax values. These values are used to limit how far this Game Object

2025-01-10 15:47:30