StateManager#onStateChange
  • References/Game Development/Phaser/Game States/StateManager

onStateChange : Phaser.Signal onStateChange is a Phaser

2025-01-10 15:47:30
State#sound
  • References/Game Development/Phaser/Game States/State

sound : Phaser.SoundManager A reference

2025-01-10 15:47:30
StateManager#onResizeCallback
  • References/Game Development/Phaser/Game States/StateManager

onResizeCallback : Function This is called if ScaleManager.scalemode is RESIZE and a resize event occurs. It's passed the new width

2025-01-10 15:47:30
State#scale
  • References/Game Development/Phaser/Game States/State

scale : Phaser.ScaleManager A reference

2025-01-10 15:47:30
StateManager#onLoadUpdateCallback
  • References/Game Development/Phaser/Game States/StateManager

onLoadUpdateCallback : Function This is called when the State is updated during the preload phase.

2025-01-10 15:47:30
State#stage
  • References/Game Development/Phaser/Game States/State

stage : Phaser.Stage A reference to the Stage.

2025-01-10 15:47:30
State#cache
  • References/Game Development/Phaser/Game States/State

cache : Phaser.Cache A reference to the game cache which

2025-01-10 15:47:30
State#init()
  • References/Game Development/Phaser/Game States/State

init() init is the very first function called when your State starts up. It's called before preload, create or anything else.If

2025-01-10 15:47:30
StateManager#onCreateCallback
  • References/Game Development/Phaser/Game States/StateManager

onCreateCallback : Function This is called when the state preload has finished and creation begins.

2025-01-10 15:47:30
State#shutdown()
  • References/Game Development/Phaser/Game States/State

shutdown() This method will be called when the State is shutdown (i.e. you switch to another state from this one).

2025-01-10 15:47:30