phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
12 lines (11 loc) • 510 B
JavaScript
/**
* Can be defined on your own Scenes. Use it to create your game objects.
* This method is called by the Scene Manager when the scene starts, after `init()` and `preload()`.
* If the LoaderPlugin started after `preload()`, then this method is called only after loading is complete.
*
* @callback Phaser.Types.Scenes.SceneCreateCallback
* @since 3.0.0
*
* @this Phaser.Scene
* @param {object} data - Any data passed via `ScenePlugin.add()` or `ScenePlugin.start()`. Same as Scene.settings.data.
*/