Stage#removeChildren()
  • References/Game Development/Phaser/Core/Stage

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.

2025-01-10 15:47:30
Stage#height
  • References/Game Development/Phaser/Core/Stage

height : number The height of the displayObjectContainer, setting this will actually modify the scale to achieve the value set

2025-01-10 15:47:30
Stage#getChildIndex()
  • References/Game Development/Phaser/Core/Stage

getChildIndex(child) → {Number} Returns the index position of a child DisplayObject instance

2025-01-10 15:47:30
Stage#addChild()
  • References/Game Development/Phaser/Core/Stage

addChild(child) → {DisplayObject}

2025-01-10 15:47:30
Stage#contains()
  • References/Game Development/Phaser/Core/Stage

contains(child) → {Boolean} Determines whether the specified display object is a child of the D

2025-01-10 15:47:30
Stage#setBackgroundColor()
  • References/Game Development/Phaser/Core/Stage

setBackgroundColor(color) Sets the background color for the Stage. The color can be given as a hex string ('#RRGGBB')

2025-01-10 15:47:30
Stage#backgroundColor
  • References/Game Development/Phaser/Core/Stage

backgroundColor : number | string Gets and sets the background color of the stage. The color can be given as a number: 0xff0000

2025-01-10 15:47:30
Stage#Stage
  • References/Game Development/Phaser/Core/Stage

new Stage(game) The Stage controls root level display objects upon which everything is displayed.It also handles browser visibility

2025-01-10 15:47:30
Stage#visibilityChange()
  • References/Game Development/Phaser/Core/Stage

visibilityChange(event) This method is called when the document visibility is changed. Parameters

2025-01-10 15:47:30
Stage#preUpdate()
  • References/Game Development/Phaser/Core/Stage

preUpdate() This is called automatically after the plugins preUpdate and before the State.update.Most objects have preUpdate methods

2025-01-10 15:47:30