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#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#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#postUpdate()
  • References/Game Development/Phaser/Core/Stage

postUpdate() This is called automatically before the renderer runs and after the plugins have updated.In postUpdate this is where

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

name : string The name of this object. Default Value

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

getChildAt(index) → {DisplayObject}

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

update() This is called automatically after the State.update, but before particles or plugins update.

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

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters

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

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

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

ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children

2025-01-10 15:47:30