phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
25 lines (23 loc) • 747 B
JavaScript
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Scene Create Event.
*
* This event is dispatched by a Scene after it has been created by the Scene Manager.
*
* If a Scene has a `create` method then this event is emitted _after_ that has run.
*
* If there is a transition, this event will be fired after the `TRANSITION_START` event.
*
* Listen to it from a Scene using `this.events.on('create', listener)`.
*
* @event Phaser.Scenes.Events#CREATE
* @type {string}
* @since 3.17.0
*
* @param {Phaser.Scene} scene - A reference to the Scene that emitted this event.
*/
module.exports = 'create';