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/input/events/POINTER_DOWN_EVENT.js
src/input/events/POINTER_DOWN_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Down Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is pressed down anywhe...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTERLOCK_CHANGE_EVENT.js
src/input/events/POINTERLOCK_CHANGE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Manager Pointer Lock Change Event. * * This event is dispatched by the Input Manager when it is processing a native Pointer L...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DRAG_LEAVE_EVENT.js
src/input/events/GAMEOBJECT_DRAG_LEAVE_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 Object Drag Leave Event. * * This event is dispatched by an interactive Game Object if a pointer drags it out of a drag target...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTER_OUT_EVENT.js
src/input/events/POINTER_OUT_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Out Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves out of any intera...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTER_DOWN_OUTSIDE_EVENT.js
src/input/events/POINTER_DOWN_OUTSIDE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Down Outside Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is pressed dow...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DRAG_LEAVE_EVENT.js
src/input/events/DRAG_LEAVE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drag Leave Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer drags a Game Obj...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/MANAGER_PROCESS_EVENT.js
src/input/events/MANAGER_PROCESS_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Manager Process Event. * * This internal event is dispatched by the Input Manager when not using the legacy queue system, * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/START_EVENT.js
src/input/events/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 Input Plugin Start Event. * * This internal event is dispatched by the Input Plugin when it has finished setting-up, * signalling ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/UPDATE_EVENT.js
src/input/events/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 Input Plugin Update Event. * * This internal event is dispatched by the Input Plugin at the start of its `update` method. * This h...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTER_OVER_EVENT.js
src/input/events/POINTER_OVER_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Over Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves over any interac...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_POINTER_UP_EVENT.js
src/input/events/GAMEOBJECT_POINTER_UP_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 Object Pointer Up Event. * * This event is dispatched by an interactive Game Object if a pointer is released while over it. *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAME_OUT_EVENT.js
src/input/events/GAME_OUT_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Game Out Event. * * This event is dispatched by the Input Plugin if the active pointer leaves the game canvas and is n...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DRAG_OVER_EVENT.js
src/input/events/GAMEOBJECT_DRAG_OVER_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 Object Drag Over Event. * * This event is dispatched by an interactive Game Object if a pointer drags it over a drag target. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_MOVE_EVENT.js
src/input/events/GAMEOBJECT_MOVE_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 Object Move Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is moved across _a...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DRAG_START_EVENT.js
src/input/events/DRAG_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 Pointer Drag Start Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer starts to drag a...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTER_UP_EVENT.js
src/input/events/POINTER_UP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Up Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is released anywhere. *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DESTROY_EVENT.js
src/input/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 Input Plugin Destroy Event. * * This internal event is dispatched by the Input Plugin when it is destroyed, signalling to all of it...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_OUT_EVENT.js
src/input/events/GAMEOBJECT_OUT_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 Object Out Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves out of _any_ ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTER_WHEEL_EVENT.js
src/input/events/POINTER_WHEEL_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Wheel Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer has its wheel updated...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/mouse/index.js
src/input/mouse/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.Input.Mouse */ /* eslint-disable */ module.exports = { MouseManager: require('./MouseManager') }; /* eslint-ena...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/mouse/MouseManager.js
src/input/mouse/MouseManager.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 Features = require('../../device/Features'); var InputEvents = require('../events'); var NOOP = re...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/touch/TouchManager.js
src/input/touch/TouchManager.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 InputEvents = require('../events'); var NOOP = require('../../utils/NOOP'); // https://developer....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/touch/index.js
src/input/touch/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.Input.Touch */ /* eslint-disable */ module.exports = { TouchManager: require('./TouchManager') }; /* eslint-ena...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/KeyboardPlugin.js
src/input/keyboard/KeyboardPlugin.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 EventEmitter = require('eventemitter3'); var Events = require('./events'); var GameEvents = requir...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/index.js
src/input/keyboard/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.Input.Keyboard */ module.exports = { Events: require('./events'), KeyboardManager: require('./KeyboardManag...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/KeyboardManager.js
src/input/keyboard/KeyboardManager.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var ArrayRemove = require('../../utils/array/Remove'); var Class = require('../../utils/Class'); var GameEvents = require('../../core/events'); ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/combo/ProcessKeyCombo.js
src/input/keyboard/combo/ProcessKeyCombo.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var AdvanceKeyCombo = require('./AdvanceKeyCombo'); /** * Used internally by the KeyCombo class. * * @function Phaser.Input.Keyboard.Process...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/combo/AdvanceKeyCombo.js
src/input/keyboard/combo/AdvanceKeyCombo.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Used internally by the KeyCombo class. * Return `true` if it reached the end of the combo, `false` if not. * * @function Phaser.Input....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/combo/KeyCombo.js
src/input/keyboard/combo/KeyCombo.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 Events = require('../events'); var GetFastValue = require('../../../utils/object/GetFastValue')...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/combo/ResetKeyCombo.js
src/input/keyboard/combo/ResetKeyCombo.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Used internally by the KeyCombo class. * * @function Phaser.Input.Keyboard.ResetKeyCombo * @private * @since 3.0.0 * * @param {Phas...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/UP_EVENT.js
src/input/keyboard/events/UP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Up Event. * * This event is dispatched by a [Key]{@link Phaser.Input.Keyboard.Key} object when it is released. * * Listen for...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/ANY_KEY_UP_EVENT.js
src/input/keyboard/events/ANY_KEY_UP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Global Key Up Event. * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is released. * * Listen to ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/KEY_DOWN_EVENT.js
src/input/keyboard/events/KEY_DOWN_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Down Event. * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is pressed down. * * Unlike the ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/DOWN_EVENT.js
src/input/keyboard/events/DOWN_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Down Event. * * This event is dispatched by a [Key]{@link Phaser.Input.Keyboard.Key} object when it is pressed. * * Listen fo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/index.js
src/input/keyboard/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.Input.Keyboard.Events */ module.exports = { ANY_KEY_DOWN: require('./ANY_KEY_DOWN_EVENT'), ANY_KEY_UP: requi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/COMBO_MATCH_EVENT.js
src/input/keyboard/events/COMBO_MATCH_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Combo Match Event. * * This event is dispatched by the Keyboard Plugin when a [Key Combo]{@link Phaser.Input.Keyboard.KeyCombo}...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/ANY_KEY_DOWN_EVENT.js
src/input/keyboard/events/ANY_KEY_DOWN_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Global Key Down Event. * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is pressed down. * * List...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/events/KEY_UP_EVENT.js
src/input/keyboard/events/KEY_UP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Up Event. * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is released. * * Unlike the `ANY_K...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/keys/Key.js
src/input/keyboard/keys/Key.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 EventEmitter = require('eventemitter3'); 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/input/keyboard/keys/JustDown.js
src/input/keyboard/keys/JustDown.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The justDown value allows you to test if this Key has just been pressed down or not. * * When you check this value it will return `true...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/keys/JustUp.js
src/input/keyboard/keys/JustUp.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The justUp value allows you to test if this Key has just been released or not. * * When you check this value it will return `true` if t...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/keys/KeyMap.js
src/input/keyboard/keys/KeyMap.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var KeyCodes = require('./KeyCodes'); var KeyMap = {}; for (var key in KeyCodes) { KeyMap[KeyCodes[key]] = key; } module.exports = KeyMap...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/keys/KeyCodes.js
src/input/keyboard/keys/KeyCodes.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Keyboard Codes. * * @namespace Phaser.Input.Keyboard.KeyCodes * @memberof Phaser.Input.Keyboard * @since 3.0.0 */ var KeyCodes = { ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/keys/DownDuration.js
src/input/keyboard/keys/DownDuration.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns `true` if the Key was pressed down within the `duration` value given, based on the current * game clock time. Or `false` if it e...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/keys/UpDuration.js
src/input/keyboard/keys/UpDuration.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns `true` if the Key was released within the `duration` value given, based on the current * game clock time. Or returns `false` if ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/typedefs/index.js
src/input/keyboard/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.Input.Keyboard */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/typedefs/CursorKeys.js
src/input/keyboard/typedefs/CursorKeys.js
/** * @typedef {object} Phaser.Types.Input.Keyboard.CursorKeys * @since 3.0.0 * * @property {Phaser.Input.Keyboard.Key} up - A Key object mapping to the UP arrow key. * @property {Phaser.Input.Keyboard.Key} down - A Key object mapping to the DOWN arrow key. * @property {Phaser.Input.Keyboard.Key} left - A Key obj...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/typedefs/KeyComboConfig.js
src/input/keyboard/typedefs/KeyComboConfig.js
/** * @typedef {object} Phaser.Types.Input.Keyboard.KeyComboConfig * @since 3.0.0 * * @property {boolean} [resetOnWrongKey=true] - If they press the wrong key do we reset the combo? * @property {number} [maxKeyDelay=0] - The max delay in ms between each key press. Above this the combo is reset. 0 means disabled. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/keyboard/typedefs/KeyboardKeydownCallback.js
src/input/keyboard/typedefs/KeyboardKeydownCallback.js
/** * @callback Phaser.Types.Input.Keyboard.KeyboardKeydownCallback * @since 3.0.0 * * @param {KeyboardEvent} event - The Keyboard Event. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/index.js
src/input/gamepad/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.Input.Gamepad */ module.exports = { Axis: require('./Axis'), Button: require('./Button'), Events: requir...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/Button.js
src/input/gamepad/Button.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 Events = require('./events'); /** * @classdesc * Contains information about a specific button o...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/Gamepad.js
src/input/gamepad/Gamepad.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Axis = require('./Axis'); var Button = require('./Button'); var Class = require('../../utils/Class'); var EventEmitter = require('eventemitt...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/Axis.js
src/input/gamepad/Axis.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'); /** * @classdesc * Contains information about a specific Gamepad Axis. * Axis objects are created ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/GamepadPlugin.js
src/input/gamepad/GamepadPlugin.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 EventEmitter = require('eventemitter3'); var Events = require('./events'); var Gamepad = require('...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/events/BUTTON_UP_EVENT.js
src/input/gamepad/events/BUTTON_UP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Up Event. * * This event is dispatched by the Gamepad Plugin when a button has been released on any active Gamepad. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/events/GAMEPAD_BUTTON_DOWN_EVENT.js
src/input/gamepad/events/GAMEPAD_BUTTON_DOWN_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Down Event. * * This event is dispatched by a Gamepad instance when a button has been pressed on it. * * Listen to...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/events/index.js
src/input/gamepad/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.Input.Gamepad.Events */ module.exports = { BUTTON_DOWN: require('./BUTTON_DOWN_EVENT'), BUTTON_UP: require('...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/events/BUTTON_DOWN_EVENT.js
src/input/gamepad/events/BUTTON_DOWN_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Down Event. * * This event is dispatched by the Gamepad Plugin when a button has been pressed on any active Gamepad....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/events/CONNECTED_EVENT.js
src/input/gamepad/events/CONNECTED_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Connected Event. * * This event is dispatched by the Gamepad Plugin when a Gamepad has been connected. * * Listen to this...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/events/DISCONNECTED_EVENT.js
src/input/gamepad/events/DISCONNECTED_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Disconnected Event. * * This event is dispatched by the Gamepad Plugin when a Gamepad has been disconnected. * * Listen t...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/events/GAMEPAD_BUTTON_UP_EVENT.js
src/input/gamepad/events/GAMEPAD_BUTTON_UP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Up Event. * * This event is dispatched by a Gamepad instance when a button has been released on it. * * Listen to ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js
src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * PlayStation DualShock 4 Gamepad Configuration. * Sony PlayStation DualShock 4 (v2) wireless controller * * @name Phaser.Input.Gamepad....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/configs/index.js
src/input/gamepad/configs/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.Input.Gamepad.Configs */ module.exports = { DUALSHOCK_4: require('./Sony_PlayStation_DualShock_4'), SNES_USB...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/configs/SNES_USB_Controller.js
src/input/gamepad/configs/SNES_USB_Controller.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Tatar SNES USB Controller Gamepad Configuration. * USB Gamepad (STANDARD GAMEPAD Vendor: 0079 Product: 0011) * * @name Phaser.Input.G...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/configs/XBox360_Controller.js
src/input/gamepad/configs/XBox360_Controller.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * XBox 360 Gamepad Configuration. * * @name Phaser.Input.Gamepad.Configs.XBOX_360 * @namespace * @since 3.0.0 */ module.exports = { ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/typedefs/index.js
src/input/gamepad/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.Input.Gamepad */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/gamepad/typedefs/Pad.js
src/input/gamepad/typedefs/Pad.js
/** * The Gamepad object, as extracted from GamepadEvent. * * @typedef {object} Phaser.Types.Input.Gamepad.Pad * @since 3.10.0 * * @property {string} id - The ID of the Gamepad. * @property {number} index - The index of the Gamepad. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/typedefs/InputPluginContainer.js
src/input/typedefs/InputPluginContainer.js
/** * @typedef {object} Phaser.Types.Input.InputPluginContainer * @since 3.0.0 * * @property {string} key - The unique name of this plugin in the input plugin cache. * @property {function} plugin - The plugin to be stored. Should be the source object, not instantiated. * @property {string} [mapping] - If this plu...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/typedefs/HitAreaCallback.js
src/input/typedefs/HitAreaCallback.js
/** * @callback Phaser.Types.Input.HitAreaCallback * @since 3.0.0 * * @param {any} hitArea - The hit area object. * @param {number} x - The translated x coordinate of the hit test event. * @param {number} y - The translated y coordinate of the hit test event. * @param {Phaser.GameObjects.GameObject} gameObject -...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/typedefs/index.js
src/input/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.Input */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/typedefs/InputConfiguration.js
src/input/typedefs/InputConfiguration.js
/** * @typedef {object} Phaser.Types.Input.InputConfiguration * @since 3.0.0 * * @property {any} [hitArea] - The object / shape to use as the Hit Area. If not given it will try to create a Rectangle based on the texture frame. * @property {Phaser.Types.Input.HitAreaCallback} [hitAreaCallback] - The callback that d...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/typedefs/EventData.js
src/input/typedefs/EventData.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * A Phaser Input Event Data object. * * This object is passed to the registered event listeners and allows you to stop any further propag...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/typedefs/InteractiveObject.js
src/input/typedefs/InteractiveObject.js
/** * @typedef {object} Phaser.Types.Input.InteractiveObject * @since 3.0.0 * * @property {Phaser.GameObjects.GameObject} gameObject - The Game Object to which this Interactive Object is bound. * @property {boolean} enabled - Is this Interactive Object currently enabled for input events? * @property {boolean} dra...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/Map.js
src/structs/Map.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'); /** * @callback EachMapCallback<E> * * @param {string} key - The key of the Map entry. * @param {E} ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/index.js
src/structs/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.Structs */ module.exports = { Events: require('./events'), List: require('./List'), Map: require('./Map'...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/Size.js
src/structs/Size.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 SnapFloor = require('../math/snap/SnapFloor'); var Vector2 = re...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/List.js
src/structs/List.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var ArrayUtils = require('../utils/array'); var Class = require('../utils/Class'); var NOOP = require('../utils/NOOP'); var StableSort = require...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/RTree.js
src/structs/RTree.js
/** * @author Vladimir Agafonkin * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var quickselect = require('../utils/array/QuickSelect'); /** * @classdesc * RBush is a high-performance J...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/Set.js
src/structs/Set.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'); /** * @callback EachSetCallback<E> * * @param {E} entry - The Set entry. * @param {number} index - T...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/ProcessQueue.js
src/structs/ProcessQueue.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 EventEmitter = require('eventemitter3'); var Events = require('./events'); /** * @classdesc * A Pr...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/events/PROCESS_QUEUE_ADD_EVENT.js
src/structs/events/PROCESS_QUEUE_ADD_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Process Queue Add Event. * * This event is dispatched by a Process Queue when a new item is successfully moved to its active list. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/events/index.js
src/structs/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.Structs.Events */ module.exports = { PROCESS_QUEUE_ADD: require('./PROCESS_QUEUE_ADD_EVENT'), PROCESS_QUEUE_...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/structs/events/PROCESS_QUEUE_REMOVE_EVENT.js
src/structs/events/PROCESS_QUEUE_REMOVE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Process Queue Remove Event. * * This event is dispatched by a Process Queue when a new item is successfully removed from its active...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/AddToDOM.js
src/dom/AddToDOM.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Adds the given element to the DOM. If a parent is provided the element is added as a child of the parent, providing it was able to access...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/RemoveFromDOM.js
src/dom/RemoveFromDOM.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Attempts to remove the element from its parentNode in the DOM. * * @function Phaser.DOM.RemoveFromDOM * @since 3.0.0 * * @param {HTM...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/CreateDOMContainer.js
src/dom/CreateDOMContainer.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 CreateDOMContainer = function (game) { var config = game.config; if (!config.parent || ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/index.js
src/dom/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.DOM */ var Dom = { AddToDOM: require('./AddToDOM'), DOMContentLoaded: require('./DOMContentLoaded'), Get...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/GetTarget.js
src/dom/GetTarget.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Attempts to get the target DOM element based on the given value, which can be either * a string, in which case it will be looked-up by I...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/GetScreenOrientation.js
src/dom/GetScreenOrientation.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('../scale/const'); /** * Attempts to determine the screen orientation using the Orientation API. * * @function Phaser.DO...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/DOMContentLoaded.js
src/dom/DOMContentLoaded.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var OS = require('../device/OS'); /** * @callback ContentLoadedCallback */ /** * Inspects the readyState of the document. If the document i...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/ParseXML.js
src/dom/ParseXML.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Takes the given data string and parses it as XML. * First tries to use the window.DOMParser and reverts to the Microsoft.XMLDOM if that ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/GetInnerHeight.js
src/dom/GetInnerHeight.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Attempts to determine the document inner height across iOS and standard devices. * Based on code by @tylerjpeterson * * @function Phas...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/dom/RequestAnimationFrame.js
src/dom/RequestAnimationFrame.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 NOOP = require('../utils/NOOP'); /** * @classdesc * Abstracts away the use of RAF or setTimeOut fo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/events/index.js
src/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.Events */ module.exports = { EventEmitter: require('./EventEmitter') };
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/events/EventEmitter.js
src/events/EventEmitter.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 EE = require('eventemitter3'); var PluginCache = require('../plugins/PluginCache'); /** * @classdes...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/index.js
src/cameras/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 */ /** * @namespace Phaser.Types.Cameras */ module.exports = { Controls: require('./controls'), S...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/index.js
src/cameras/2d/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 */ module.exports = { Camera: require('./Camera'), BaseCamera: require('./BaseCamera'), ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/CameraManager.js
src/cameras/2d/CameraManager.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Camera = require('./Camera'); var Class = require('../../utils/Class'); var GetFastValue = require('../../utils/object/GetFastValue'); var P...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/Camera.js
src/cameras/2d/Camera.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var BaseCamera = require('./BaseCamera'); var CenterOn = require('../../geom/rectangle/CenterOn'); var Clamp = require('../../math/Clamp'); var ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/cameras/2d/BaseCamera.js
src/cameras/2d/BaseCamera.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 Components = require('../../gameobjects/components'); var DegToRad = require('../../math/DegToRad'...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true