create() create is called once preload has completed, this includes the loading of any assets from the Loader.If you don't have
[readonly] created : boolean True if the current state has had its create method
camera : Phaser.Camera A handy reference to World.camera
onInitCallback : Function This is called when the state is set as the active state. Source
states : Object The object containing Phaser.States. Source code:
make : Phaser.GameObjectCreator
rnd : Phaser.RandomDataGenerator
new State() This is a base State class which can be extended if you are creating your own game.It provides quick access to common
render() Nearly all display objects in Phaser render automatically, you don't need to tell them to render.However the render method
resize() If your game is set to Scalemode RESIZE then each time the browser resizes it will call this function, passing in the new width
Page 1 of 6