repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/effects/Flash.js
src/cameras/2d/effects/Flash.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Clamp = require('../../../math/Clamp'); var Class = require('../../../utils/Class'); var Events = require('../events'); /** * @classdesc ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/effects/Zoom.js
src/cameras/2d/effects/Zoom.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Clamp = require('../../../math/Clamp'); var Class = require('../../../utils/Class'); var EaseMap = require('../../../math/easing/EaseMap'); ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/effects/index.js
src/cameras/2d/effects/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Cameras.Scene2D.Effects */ module.exports = { Fade: require('./Fade'), Flash: require('./Flash'), Pan: r...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/effects/Shake.js
src/cameras/2d/effects/Shake.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Clamp = require('../../../math/Clamp'); var Class = require('../../../utils/Class'); var Events = require('../events'); var Vector2 = requir...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/effects/Fade.js
src/cameras/2d/effects/Fade.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Clamp = require('../../../math/Clamp'); var Class = require('../../../utils/Class'); var Events = require('../events'); /** * @classdesc ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/effects/RotateTo.js
src/cameras/2d/effects/RotateTo.js
/** * @author Jason Nicholls <nicholls.jason@gmail.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ var Clamp = require('../../../math/Clamp'); var Class = require('../../../utils/Class'); var Events = require('.....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/effects/Pan.js
src/cameras/2d/effects/Pan.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Clamp = require('../../../math/Clamp'); var Class = require('../../../utils/Class'); var EaseMap = require('../../../math/easing/EaseMap'); ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/PAN_COMPLETE_EVENT.js
src/cameras/2d/events/PAN_COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Pan Complete Event. * * This event is dispatched by a Camera instance when the Pan Effect completes. * * Listen for it via...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/ZOOM_COMPLETE_EVENT.js
src/cameras/2d/events/ZOOM_COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Zoom Complete Event. * * This event is dispatched by a Camera instance when the Zoom Effect completes. * * Listen for it v...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/ZOOM_START_EVENT.js
src/cameras/2d/events/ZOOM_START_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Zoom Start Event. * * This event is dispatched by a Camera instance when the Zoom Effect starts. * * Listen for it via eit...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/ROTATE_START_EVENT.js
src/cameras/2d/events/ROTATE_START_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Rotate Start Event. * * This event is dispatched by a Camera instance when the Rotate Effect starts. * * Listen for it via...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/PAN_START_EVENT.js
src/cameras/2d/events/PAN_START_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Pan Start Event. * * This event is dispatched by a Camera instance when the Pan Effect starts. * * Listen for it via eithe...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/FLASH_COMPLETE_EVENT.js
src/cameras/2d/events/FLASH_COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Flash Complete Event. * * This event is dispatched by a Camera instance when the Flash Effect completes. * * Listen for it...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/SHAKE_COMPLETE_EVENT.js
src/cameras/2d/events/SHAKE_COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Shake Complete Event. * * This event is dispatched by a Camera instance when the Shake Effect completes. * * Listen for it...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/index.js
src/cameras/2d/events/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Cameras.Scene2D.Events */ module.exports = { DESTROY: require('./DESTROY_EVENT'), FADE_IN_COMPLETE: require(...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/FADE_OUT_START_EVENT.js
src/cameras/2d/events/FADE_OUT_START_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Fade Out Start Event. * * This event is dispatched by a Camera instance when the Fade Out Effect starts. * * Listen to it ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/FOLLOW_UPDATE_EVENT.js
src/cameras/2d/events/FOLLOW_UPDATE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Follower Update Event. * * This event is dispatched by a Camera instance when it is following a * Game Object and the Camer...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/PRE_RENDER_EVENT.js
src/cameras/2d/events/PRE_RENDER_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Pre-Render Event. * * This event is dispatched by a Camera instance when it is about to render. * It is only dispatched if ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/FLASH_START_EVENT.js
src/cameras/2d/events/FLASH_START_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Flash Start Event. * * This event is dispatched by a Camera instance when the Flash Effect starts. * * Listen for it via e...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/FADE_IN_START_EVENT.js
src/cameras/2d/events/FADE_IN_START_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Fade In Start Event. * * This event is dispatched by a Camera instance when the Fade In Effect starts. * * Listen to it fr...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/FADE_IN_COMPLETE_EVENT.js
src/cameras/2d/events/FADE_IN_COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Fade In Complete Event. * * This event is dispatched by a Camera instance when the Fade In Effect completes. * * Listen to...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/SHAKE_START_EVENT.js
src/cameras/2d/events/SHAKE_START_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Shake Start Event. * * This event is dispatched by a Camera instance when the Shake Effect starts. * * Listen for it via e...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/DESTROY_EVENT.js
src/cameras/2d/events/DESTROY_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Destroy Camera Event. * * This event is dispatched by a Camera instance when it is destroyed by the Camera Manager. * * Listen fo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/POST_RENDER_EVENT.js
src/cameras/2d/events/POST_RENDER_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Post-Render Event. * * This event is dispatched by a Camera instance after is has finished rendering. * It is only dispatch...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/ROTATE_COMPLETE_EVENT.js
src/cameras/2d/events/ROTATE_COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Rotate Complete Event. * * This event is dispatched by a Camera instance when the Rotate Effect completes. * * Listen for ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/events/FADE_OUT_COMPLETE_EVENT.js
src/cameras/2d/events/FADE_OUT_COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Camera Fade Out Complete Event. * * This event is dispatched by a Camera instance when the Fade Out Effect completes. * * Listen ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/CameraConfig.js
src/cameras/2d/typedefs/CameraConfig.js
/** * @typedef {object} Phaser.Types.Cameras.Scene2D.CameraConfig * @since 3.0.0 * * @property {string} [name=''] - The name of the Camera. * @property {number} [x=0] - The horizontal position of the Camera viewport. * @property {number} [y=0] - The vertical position of the Camera viewport. * @property {number} ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/index.js
src/cameras/2d/typedefs/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Types.Cameras.Scene2D */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/CameraZoomCallback.js
src/cameras/2d/typedefs/CameraZoomCallback.js
/** * @callback Phaser.Types.Cameras.Scene2D.CameraZoomCallback * @since 3.11.0 * * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running. * @param {number} progress - The progress of the effect. A value between 0 and 1. * @param {number} zoom - The Camera's new zoom value. */...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/JSONCamera.js
src/cameras/2d/typedefs/JSONCamera.js
/** * @typedef {object} Phaser.Types.Cameras.Scene2D.JSONCamera * @since 3.0.0 * * @property {string} name - The name of the camera * @property {number} x - The horizontal position of camera * @property {number} y - The vertical position of camera * @property {number} width - The width size of camera * @propert...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/CameraShakeCallback.js
src/cameras/2d/typedefs/CameraShakeCallback.js
/** * @callback Phaser.Types.Cameras.Scene2D.CameraShakeCallback * @since 3.5.0 * * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running. * @param {number} progress - The progress of the effect. A value between 0 and 1. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/CameraFlashCallback.js
src/cameras/2d/typedefs/CameraFlashCallback.js
/** * @callback Phaser.Types.Cameras.Scene2D.CameraFlashCallback * @since 3.5.0 * * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running. * @param {number} progress - The progress of the effect. A value between 0 and 1. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/JSONCameraBounds.js
src/cameras/2d/typedefs/JSONCameraBounds.js
/** * @typedef {object} Phaser.Types.Cameras.Scene2D.JSONCameraBounds * @since 3.0.0 * * @property {number} x - The horizontal position of camera * @property {number} y - The vertical position of camera * @property {number} width - The width size of camera * @property {number} height - The height size of camera...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/CameraPanCallback.js
src/cameras/2d/typedefs/CameraPanCallback.js
/** * @callback Phaser.Types.Cameras.Scene2D.CameraPanCallback * @since 3.5.0 * * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running. * @param {number} progress - The progress of the effect. A value between 0 and 1. * @param {number} x - The Camera's new scrollX coordinate. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/typedefs/CameraFadeCallback.js
src/cameras/2d/typedefs/CameraFadeCallback.js
/** * @callback Phaser.Types.Cameras.Scene2D.CameraFadeCallback * @since 3.5.0 * * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running. * @param {number} progress - The progress of the effect. A value between 0 and 1. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/controls/SmoothedKeyControl.js
src/cameras/controls/SmoothedKeyControl.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../../utils/Class'); var GetValue = require('../../utils/object/GetValue'); /** * @classdesc * A Smoothed Key Camera Con...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/controls/index.js
src/cameras/controls/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Cameras.Controls */ module.exports = { FixedKeyControl: require('./FixedKeyControl'), SmoothedKeyControl: re...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/controls/FixedKeyControl.js
src/cameras/controls/FixedKeyControl.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../../utils/Class'); var GetValue = require('../../utils/object/GetValue'); /** * @classdesc * A Fixed Key Camera Contro...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/controls/typedefs/index.js
src/cameras/controls/typedefs/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Types.Cameras.Controls */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/controls/typedefs/SmoothedKeyControlConfig.js
src/cameras/controls/typedefs/SmoothedKeyControlConfig.js
/** * @typedef {object} Phaser.Types.Cameras.Controls.SmoothedKeyControlConfig * @since 3.0.0 * * @property {Phaser.Cameras.Scene2D.Camera} [camera] - The Camera that this Control will update. * @property {Phaser.Input.Keyboard.Key} [left] - The Key to be pressed that will move the Camera left. * @property {Phase...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/controls/typedefs/FixedKeyControlConfig.js
src/cameras/controls/typedefs/FixedKeyControlConfig.js
/** * @typedef {object} Phaser.Types.Cameras.Controls.FixedKeyControlConfig * @since 3.0.0 * * @property {Phaser.Cameras.Scene2D.Camera} [camera] - The Camera that this Control will update. * @property {Phaser.Input.Keyboard.Key} [left] - The Key to be pressed that will move the Camera left. * @property {Phaser.I...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/index.js
src/sound/index.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Sound */ module.exports = { ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/BaseSoundManager.js
src/sound/BaseSoundManager.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../utils/Class'); var Clone = require...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/SoundManagerCreator.js
src/sound/SoundManagerCreator.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var HTML5AudioSoundManager = require('./html5/HTML5AudioSo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/BaseSound.js
src/sound/BaseSound.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../utils/Class'); var EventEmitter = ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/noaudio/NoAudioSoundManager.js
src/sound/noaudio/NoAudioSoundManager.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var BaseSoundManager = require('../BaseSoundManager'); var...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/noaudio/NoAudioSound.js
src/sound/noaudio/NoAudioSound.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var BaseSound = require('../BaseSound'); var Class = requi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/html5/HTML5AudioSoundManager.js
src/sound/html5/HTML5AudioSoundManager.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var BaseSoundManager = require('../BaseSoundManager'); var...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/html5/HTML5AudioSound.js
src/sound/html5/HTML5AudioSound.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var BaseSound = require('../BaseSound'); var Class = requi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/webaudio/WebAudioSoundManager.js
src/sound/webaudio/WebAudioSoundManager.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Base64ToArrayBuffer = require('../../utils/base64/Base...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/webaudio/WebAudioSound.js
src/sound/webaudio/WebAudioSound.js
/** * @author Richard Davey <rich@phaser.io> * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var BaseSound = require('../BaseSound'); var Class = requi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/PAUSE_ALL_EVENT.js
src/sound/events/PAUSE_ALL_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pause All Sounds Event. * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sou...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/GLOBAL_RATE_EVENT.js
src/sound/events/GLOBAL_RATE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Rate Event. * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/LOOP_EVENT.js
src/sound/events/LOOP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Loop Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their loop state is changed. *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/GLOBAL_VOLUME_EVENT.js
src/sound/events/GLOBAL_VOLUME_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Volume Event. * * This event is dispatched by the Sound Manager when its `volume` property is changed, either ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/LOOPED_EVENT.js
src/sound/events/LOOPED_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Looped Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they loop during playback. *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/RESUME_ALL_EVENT.js
src/sound/events/RESUME_ALL_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Resume All Sounds Event. * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio So...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/PAUSE_EVENT.js
src/sound/events/PAUSE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Pause Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are paused. * * Listen ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/RESUME_EVENT.js
src/sound/events/RESUME_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Resume Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are resumed from a pause...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/SEEK_EVENT.js
src/sound/events/SEEK_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Seek Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are seeked to a new positi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/index.js
src/sound/events/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Sound.Events */ module.exports = { COMPLETE: require('./COMPLETE_EVENT'), DECODED: require('./DECODED_EVENT'...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/RATE_EVENT.js
src/sound/events/RATE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Rate Change Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their rate changes. * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/GLOBAL_DETUNE_EVENT.js
src/sound/events/GLOBAL_DETUNE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Detune Event. * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the We...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/STOP_ALL_EVENT.js
src/sound/events/STOP_ALL_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Stop All Sounds Event. * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Soun...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/DETUNE_EVENT.js
src/sound/events/DETUNE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Detune Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their detune value changes. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/STOP_EVENT.js
src/sound/events/STOP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Stop Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are stopped. * * Listen ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/PLAY_EVENT.js
src/sound/events/PLAY_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Play Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are played. * * Listen t...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/PAN_EVENT.js
src/sound/events/PAN_EVENT.js
/** * @author pi-kei * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Pan Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their pan changes. * * Listen to it from a Sound insta...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/MUTE_EVENT.js
src/sound/events/MUTE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Mute Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their mute state changes. * *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/DECODED_ALL_EVENT.js
src/sound/events/DECODED_ALL_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Audio Data Decoded All Event. * * This event is dispatched by the Web Audio Sound Manager as a result of calling the `decodeAudio` ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/DESTROY_EVENT.js
src/sound/events/DESTROY_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Destroy Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are destroyed, either ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/UNLOCKED_EVENT.js
src/sound/events/UNLOCKED_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Unlocked Event. * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Aud...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/VOLUME_EVENT.js
src/sound/events/VOLUME_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Volume Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their volume changes. * * L...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/GLOBAL_MUTE_EVENT.js
src/sound/events/GLOBAL_MUTE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Mute Event. * * This event is dispatched by the Sound Manager when its `mute` property is changed, either dire...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/DECODED_EVENT.js
src/sound/events/DECODED_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Audio Data Decoded Event. * * This event is dispatched by the Web Audio Sound Manager as a result of calling the `decodeAudio` meth...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/events/COMPLETE_EVENT.js
src/sound/events/COMPLETE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Complete Event. * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they complete playback. * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/EachActiveSoundCallback.js
src/sound/typedefs/EachActiveSoundCallback.js
/** * @callback Phaser.Types.Sound.EachActiveSoundCallback * @since 3.0.0 * * @param {Phaser.Sound.BaseSoundManager} manager - The SoundManager * @param {Phaser.Sound.BaseSound} sound - The current active Sound * @param {number} index - The index of the current active Sound * @param {Phaser.Sound.BaseSound[]} so...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/AudioSpriteSound.js
src/sound/typedefs/AudioSpriteSound.js
/** * Audio sprite sound type. * * @typedef {object} Phaser.Types.Sound.AudioSpriteSound * @since 3.0.0 * * @property {object} spritemap - Local reference to 'spritemap' object form json file generated by audiosprite tool. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/DecodeAudioConfig.js
src/sound/typedefs/DecodeAudioConfig.js
/** * A Audio Data object. * * You can pass an array of these objects to the WebAudioSoundManager `decodeAudio` method to have it decode * them all at once. * * @typedef {object} Phaser.Types.Sound.DecodeAudioConfig * @since 3.18.0 * * @property {string} key - The string-based key to be used to reference the ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/SpatialSoundConfig.js
src/sound/typedefs/SpatialSoundConfig.js
/** * Config object containing settings for the source of the spatial sound. * * See https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Web_audio_spatialization_basics * * @typedef {object} Phaser.Types.Sound.SpatialSoundConfig * @since 3.60.0 * * @property {number} [x=0] - The horizontal position o...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/index.js
src/sound/typedefs/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Types.Sound */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/WebAudioDecodeEntry.js
src/sound/typedefs/WebAudioDecodeEntry.js
/** * An entry in the Web Audio Decoding Queue. * * @typedef {object} Phaser.Types.Sound.WebAudioDecodeEntry * @since 3.60.0 * * @property {string} key - The key of the sound. * @property {function} success - The callback to invoke on successful decoding. * @property {function} failure - The callback to invoke ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/SoundMarker.js
src/sound/typedefs/SoundMarker.js
/** * Marked section of a sound represented by name, and optionally start time, duration, and config object. * * @typedef {object} Phaser.Types.Sound.SoundMarker * @since 3.0.0 * * @property {string} name - Unique identifier of a sound marker. * @property {number} [start=0] - Sound position offset at witch playb...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/sound/typedefs/SoundConfig.js
src/sound/typedefs/SoundConfig.js
/** * Config object containing various sound settings. * * @typedef {object} Phaser.Types.Sound.SoundConfig * @since 3.0.0 * * @property {boolean} [mute=false] - Boolean indicating whether the sound should be muted or not. * @property {number} [volume=1] - A value between 0 (silence) and 1 (full volume). * @pro...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/Game.js
src/core/Game.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var AddToDOM = require('../dom/AddToDOM'); var AnimationManager = require('../animations/AnimationManager'); var CacheManager = require('../cach...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/CreateRenderer.js
src/core/CreateRenderer.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var CanvasInterpolation = require('../display/canvas/CanvasInterpolation'); var CanvasPool = require('../display/canvas/CanvasPool'); var CONST ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/index.js
src/core/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Core */ module.exports = { Config: require('./Config'), CreateRenderer: require('./CreateRenderer'), Deb...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/VisibilityHandler.js
src/core/VisibilityHandler.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Events = require('./events'); /** * The Visibility Handler is responsible for listening out for document level visibility change events. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/DebugHeader.js
src/core/DebugHeader.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var CONST = require('../const'); /** * Called automatically by Phaser.Game and responsible for creating the console.log debug header. * * Yo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/TimeStep.js
src/core/TimeStep.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../utils/Class'); var GetValue = require('../utils/object/GetValue'); var NOOP = require('../utils/NOOP'); var RequestAnima...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/Config.js
src/core/Config.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../utils/Class'); var CONST = require('../const'); var DefaultPlugins = require('../plugins/DefaultPlugins'); var Device = ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/FOCUS_EVENT.js
src/core/events/FOCUS_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Focus Event. * * This event is dispatched by the Game Visibility Handler when the window in which the Game instance is embedde...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/BLUR_EVENT.js
src/core/events/BLUR_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Blur Event. * * This event is dispatched by the Game Visibility Handler when the window in which the Game instance is embedded...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/BOOT_EVENT.js
src/core/events/BOOT_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Boot Event. * * This event is dispatched when the Phaser Game instance has finished booting, but before it is ready to start r...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/VISIBLE_EVENT.js
src/core/events/VISIBLE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Visible Event. * * This event is dispatched by the Game Visibility Handler when the document in which the Game instance is emb...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/PAUSE_EVENT.js
src/core/events/PAUSE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Pause Event. * * This event is dispatched when the Game loop enters a paused state, usually as a result of the Visibility Hand...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/RESUME_EVENT.js
src/core/events/RESUME_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Resume Event. * * This event is dispatched when the game loop leaves a paused state and resumes running. * * @event Phaser.C...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/index.js
src/core/events/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Core.Events */ module.exports = { BLUR: require('./BLUR_EVENT'), BOOT: require('./BOOT_EVENT'), CONTEXT_...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/PRE_STEP_EVENT.js
src/core/events/PRE_STEP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Pre-Step Event. * * This event is dispatched before the main Game Step starts. By this point in the game cycle none of the Sce...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/core/events/SYSTEM_READY_EVENT.js
src/core/events/SYSTEM_READY_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * This event is dispatched when the Scene Manager has created the System Scene, * which other plugins and systems may use to initialize th...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false