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#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#alignIn()
  • References/Game Development/Phaser/Display/Button

alignIn(container, position, offsetX, offsetY)

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

destroy(destroyChildren, destroyTexture) Destroys the Game Object. This

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

new Button(game, x, y, key, callback,

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

getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds

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

setSounds(overSound, overMarker, downSound, downMarker

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

smoothed : boolean Enable or disable texture smoothing for this Game Object. It only takes effect if the Game Object is

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