phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
24 lines (22 loc) • 751 B
JavaScript
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Arcade Physics World Step Event.
*
* This event is dispatched by an Arcade Physics World instance whenever a physics step is run.
* It is emitted _after_ the bodies and colliders have been updated.
*
* In high framerate settings this can be multiple times per game frame.
*
* Listen to it from a Scene using: `this.physics.world.on('worldstep', listener)`.
*
* @event Phaser.Physics.Arcade.Events#WORLD_STEP
* @type {string}
* @since 3.18.0
*
* @param {number} delta - The delta time amount of this step, in seconds.
*/
module.exports = 'worldstep';