StateManager#checkState()
  • References/Game Development/Phaser/Game States/StateManager

checkState(key) → {boolean} Checks if a given phaser state is valid. A State is considered valid

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

onPreRenderCallback : Function This is called before the state is rendered and before the stage is cleared but after all game objects

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

loadRender() loadRender is called during the Loader process. This only happens if you've set one or more assets to load in the preload

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

particles : Phaser.Particles The Particle

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

load : Phaser.Loader A reference to the Loader, which

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#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#start()
  • References/Game Development/Phaser/Game States/StateManager

start(key, clearWorld, clearCache, parameter) Start the given State. If

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

preload() preload is called first. Normally you'd use this to load your game assets (or those needed for the current State)You

2025-01-10 15:47:30