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/utils/object/Extend.js
src/utils/object/Extend.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var IsPlainObject = require('./IsPlainObject'); // @param {boolean} deep - Perform a deep copy? // @param {object} target - The target object t...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/object/GetAdvancedValue.js
src/utils/object/GetAdvancedValue.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var MATH = require('../../math'); var GetValue = require('./GetValue'); /** * Retrieves a value from an object. Allows for more advanced selec...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/object/Merge.js
src/utils/object/Merge.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Clone = require('./Clone'); /** * Creates a new Object using all values from obj1 and obj2. * If a value exists in both obj1 and obj2, th...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/object/GetValue.js
src/utils/object/GetValue.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Retrieves a value from an object, or an alternative object, falling to a back-up default value if not found. * * The key is a string, w...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/base64/index.js
src/utils/base64/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.Utils.Base64 */ module.exports = { ArrayBufferToBase64: require('./ArrayBufferToBase64'), Base64ToArrayBuffe...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/base64/Base64ToArrayBuffer.js
src/utils/base64/Base64ToArrayBuffer.js
/** * @author Niklas von Hertzen (https://github.com/niklasvh/base64-arraybuffer) * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrst...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/base64/ArrayBufferToBase64.js
src/utils/base64/ArrayBufferToBase64.js
/** * @author Niklas von Hertzen (https://github.com/niklasvh/base64-arraybuffer) * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrst...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/MoveAbove.js
src/utils/array/MoveAbove.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the given array element above another one in the array. * If the given element is already above the other, it isn't moved. * Abov...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/SortByDigits.js
src/utils/array/SortByDigits.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 array and runs a numeric sort on it, ignoring any non-digits that * may be in the entries. * * You should only run thi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/MoveTo.js
src/utils/array/MoveTo.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves an element in an array to a new position within the same array. * The array is modified in-place. * * @function Phaser.Utils.Arr...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/RotateRight.js
src/utils/array/RotateRight.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the element at the end of the array to the start, shifting all items in the process. * The "rotation" happens to the right. * * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/GetRandom.js
src/utils/array/GetRandom.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns a Random element from the array. * * @function Phaser.Utils.Array.GetRandom * @since 3.0.0 * * @generic T * @genericUse {T[...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/MoveBelow.js
src/utils/array/MoveBelow.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the given array element below another one in the array. * If the given element is already below the other, it isn't moved. * Belo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Each.js
src/utils/array/Each.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Passes each element in the array to the given callback. * * @function Phaser.Utils.Array.Each * @since 3.4.0 * * @param {array} arra...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Replace.js
src/utils/array/Replace.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Replaces an element of the array with the new element. * The new element cannot already be a member of the array. * The array is modifi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/index.js
src/utils/array/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.Utils.Array */ module.exports = { Matrix: require('./matrix'), Add: require('./Add'), AddAt: require('....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/NumberArrayStep.js
src/utils/array/NumberArrayStep.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var RoundAwayFromZero = require('../../math/RoundAwayFromZero'); /** * Create an array of numbers (positive and/or negative) progressing from ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/QuickSelect.js
src/utils/array/QuickSelect.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @ignore */ function swap (arr, i, j) { var tmp = arr[i]; arr[i] = arr[j]; arr[j] = tmp; } /** * @ignore */ function defau...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/AddAt.js
src/utils/array/AddAt.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 item, or array of items, to the array starting at the index specified. * * Each item must be unique within the array. *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Swap.js
src/utils/array/Swap.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Swaps the position of two elements in the given array. * The elements must exist in the same array. * The array is modified in-place. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/SpliceOne.js
src/utils/array/SpliceOne.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Removes a single item from an array and returns it without creating gc, like the native splice does. * Based on code by Mike Reinstein. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Range.js
src/utils/array/Range.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var GetValue = require('../object/GetValue'); var Shuffle = require('./Shuffle'); var BuildChunk = function (a, b, qty) { var out = []; ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/RotateLeft.js
src/utils/array/RotateLeft.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the element at the start of the array to the end, shifting all items in the process. * The "rotation" happens to the left. * * @...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/GetFirst.js
src/utils/array/GetFirst.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SafeRange = require('./SafeRange'); /** * Returns the first element in the array. * * You can optionally specify a matching criteria usi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/SendToBack.js
src/utils/array/SendToBack.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the given element to the bottom of the array. * The array is modified in-place. * * @function Phaser.Utils.Array.SendToBack * @...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/RemoveBetween.js
src/utils/array/RemoveBetween.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SafeRange = require('./SafeRange'); /** * Removes the item within the given range in the array. * * The array is modified in-place. * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/RemoveAt.js
src/utils/array/RemoveAt.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SpliceOne = require('./SpliceOne'); /** * Removes the item from the given position in the array. * * The array is modified in-place. * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/MoveDown.js
src/utils/array/MoveDown.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the given array element down one place in the array. * The array is modified in-place. * * @function Phaser.Utils.Array.MoveDown...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/EachInRange.js
src/utils/array/EachInRange.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SafeRange = require('./SafeRange'); /** * Passes each element in the array, between the start and end indexes, to the given callback. * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/MoveUp.js
src/utils/array/MoveUp.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the given array element up one place in the array. * The array is modified in-place. * * @function Phaser.Utils.Array.MoveUp * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/FindClosestInSorted.js
src/utils/array/FindClosestInSorted.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Searches a pre-sorted array for the closet value to the given number. * * If the `key` argument is given it will assume the array conta...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/SetAll.js
src/utils/array/SetAll.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SafeRange = require('./SafeRange'); /** * Scans the array for elements with the given property. If found, the property is set to the `valu...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/BringToTop.js
src/utils/array/BringToTop.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Moves the given element to the top of the array. * The array is modified in-place. * * @function Phaser.Utils.Array.BringToTop * @sin...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Shuffle.js
src/utils/array/Shuffle.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Shuffles the contents of the given array using the Fisher-Yates implementation. * * The original array is modified directly and returne...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/StableSort.js
src/utils/array/StableSort.js
/** * @author Richard Davey <rich@phaser.io> * @author Angry Bytes (and contributors) * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Device = require('../../device'); /** * The comparator function. * * @ignore * * @para...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Flatten.js
src/utils/array/Flatten.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Takes an array and flattens it, returning a shallow-copy flattened array. * * @function Phaser.Utils.Array.Flatten * @since 3.60.0 * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/NumberArray.js
src/utils/array/NumberArray.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Create an array representing the range of numbers (usually integers), between, and inclusive of, * the given `start` and `end` arguments...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Add.js
src/utils/array/Add.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 item, or array of items, to the array. * * Each item must be unique within the array. * * The array is modified in-pla...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/Remove.js
src/utils/array/Remove.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SpliceOne = require('./SpliceOne'); /** * Removes the given item, or array of items, from the array. * * The array is modified in-place....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/SafeRange.js
src/utils/array/SafeRange.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Tests if the start and end indexes are a safe range for the given array. * * @function Phaser.Utils.Array.SafeRange * @since 3.4.0 * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/GetAll.js
src/utils/array/GetAll.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SafeRange = require('./SafeRange'); /** * Returns all elements in the array. * * You can optionally specify a matching criteria using th...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/RemoveRandomElement.js
src/utils/array/RemoveRandomElement.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SpliceOne = require('./SpliceOne'); /** * Removes a random object from the given array and returns it. * Will return null if there are no...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/CountAllMatching.js
src/utils/array/CountAllMatching.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var SafeRange = require('./SafeRange'); /** * Returns the total number of elements in the array which have a property matching the given value...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/CheckMatrix.js
src/utils/array/matrix/CheckMatrix.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Checks if an array can be used as a matrix. * * A matrix is a two-dimensional array (array of arrays), where all sub-arrays (rows) * h...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/RotateRight.js
src/utils/array/matrix/RotateRight.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var RotateMatrix = require('./RotateMatrix'); /** * Rotates the array matrix to the left (or -90 degrees) * * A matrix is a two-dimensional ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/index.js
src/utils/array/matrix/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.Utils.Array.Matrix */ module.exports = { CheckMatrix: require('./CheckMatrix'), MatrixToString: require('./M...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/Rotate180.js
src/utils/array/matrix/Rotate180.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var RotateMatrix = require('./RotateMatrix'); /** * Rotates the array matrix 180 degrees. * * A matrix is a two-dimensional array (array of ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/ReverseColumns.js
src/utils/array/matrix/ReverseColumns.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Reverses the columns in the given Array Matrix. * * A matrix is a two-dimensional array (array of arrays), where all sub-arrays (rows) ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/TransposeMatrix.js
src/utils/array/matrix/TransposeMatrix.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Transposes the elements of the given matrix (array of arrays). * * The transpose of a matrix is a new matrix whose rows are the columns...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/RotateLeft.js
src/utils/array/matrix/RotateLeft.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var RotateMatrix = require('./RotateMatrix'); /** * Rotates the array matrix to the left (or 90 degrees) * * A matrix is a two-dimensional a...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/ReverseRows.js
src/utils/array/matrix/ReverseRows.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Reverses the rows in the given Array Matrix. * * A matrix is a two-dimensional array (array of arrays), where all sub-arrays (rows) * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/RotateMatrix.js
src/utils/array/matrix/RotateMatrix.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var CheckMatrix = require('./CheckMatrix'); var TransposeMatrix = require('./TransposeMatrix'); /** * Rotates the array matrix based on the gi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/MatrixToString.js
src/utils/array/matrix/MatrixToString.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Pad = require('../../string/Pad'); var CheckMatrix = require('./CheckMatrix'); /** * Generates a string (which you can pass to console.log...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/utils/array/matrix/TranslateMatrix.js
src/utils/array/matrix/TranslateMatrix.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var RotateLeft = require('../RotateLeft'); var RotateRight = require('../RotateRight'); /** * Translates the given Array Matrix by shifting ea...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/ScenePlugin.js
src/plugins/ScenePlugin.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License} */ var BasePlugin = require('./BasePlugin'); var Class = require('../utils/Class'); var SceneEvents = require('....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/DefaultPlugins.js
src/plugins/DefaultPlugins.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Default Plugins. * * @namespace Phaser.Plugins.DefaultPlugins * @memberof Phaser.Plugins * @since 3.0.0 */ var DefaultPlugins =...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/index.js
src/plugins/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.Plugins */ module.exports = { BasePlugin: require('./BasePlugin'), DefaultPlugins: require('./DefaultPlugins...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/PluginManager.js
src/plugins/PluginManager.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 GameEvents = require('../core/events'); var EventEmitter = require('eventemitter3'); var FileTypesMan...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/PluginCache.js
src/plugins/PluginCache.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ // Contains the plugins that Phaser uses globally and locally. // These are the source objects, not instantiated. var corePlugins = {}; // C...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/BasePlugin.js
src/plugins/BasePlugin.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License} */ var Class = require('../utils/Class'); /** * @classdesc * A Global Plugin is installed just once into the ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/typedefs/CorePluginContainer.js
src/plugins/typedefs/CorePluginContainer.js
/** * @typedef {object} Phaser.Types.Plugins.CorePluginContainer * @since 3.8.0 * * @property {string} key - The unique name of this plugin in the core 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/plugins/typedefs/index.js
src/plugins/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.Plugins */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/typedefs/CustomPluginContainer.js
src/plugins/typedefs/CustomPluginContainer.js
/** * @typedef {object} Phaser.Types.Plugins.CustomPluginContainer * @since 3.8.0 * * @property {string} key - The unique name of this plugin in the custom plugin cache. * @property {function} plugin - The plugin to be stored. Should be the source object, not instantiated. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/plugins/typedefs/GlobalPlugin.js
src/plugins/typedefs/GlobalPlugin.js
/** * @typedef {object} Phaser.Types.Plugins.GlobalPlugin * @since 3.0.0 * * @property {string} key - The unique name of this plugin within the plugin cache. * @property {function} plugin - An instance of the plugin. * @property {boolean} [active] - Is the plugin active or not? * @property {string} [mapping] - I...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/InputPluginCache.js
src/input/InputPluginCache.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var GetValue = require('../utils/object/GetValue'); // Contains the plugins that Phaser uses globally and locally. // These are the source ob...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/CreateInteractiveObject.js
src/input/CreateInteractiveObject.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Creates a new Interactive Object. * * This is called automatically by the Input Manager when you enable a Game Object for input. * * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/index.js
src/input/index.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'); var Extend = require('../utils/object/Extend'); /** * @namespace Phaser.Input */ var Input = { CreatePi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/InputPlugin.js
src/input/InputPlugin.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Circle = require('../geom/circle/Circle'); var CircleContains = require('../geom/circle/Contains'); var Class = require('../utils/Class'); v...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/InputManager.js
src/input/InputManager.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 EventEmitter = require('eventemitter3'); var Events = require('./even...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/const.js
src/input/const.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var INPUT_CONST = { /** * The mouse pointer is being held down. * * @name Phaser.Input.MOUSE_DOWN * @type {number} ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/CreatePixelPerfectHandler.js
src/input/CreatePixelPerfectHandler.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Creates a new Pixel Perfect Handler function. * * Access via `InputPlugin.makePixelPerfect` rather than calling it directly. * * @fun...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/Pointer.js
src/input/Pointer.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Angle = require('../math/angle/Between'); var Class = require('../utils/Class'); var Distance = require('../math/distance/DistanceBetween');...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DOWN_EVENT.js
src/input/events/GAMEOBJECT_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 Game Object Down Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is pressed down on...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_WHEEL_EVENT.js
src/input/events/GAMEOBJECT_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 Game Object Wheel Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer has its wheel mov...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DRAG_ENTER_EVENT.js
src/input/events/DRAG_ENTER_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 Enter 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/SHUTDOWN_EVENT.js
src/input/events/SHUTDOWN_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 Shutdown Event. * * This internal event is dispatched by the Input Plugin when it shuts down, signalling to all of its...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/BOOT_EVENT.js
src/input/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 Input Plugin Boot Event. * * This internal event is dispatched by the Input Plugin when it boots, signalling to all of its systems ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_POINTER_OUT_EVENT.js
src/input/events/GAMEOBJECT_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 Game Object Pointer Out Event. * * This event is dispatched by an interactive Game Object if a pointer moves out of it. * * Liste...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/MANAGER_BOOT_EVENT.js
src/input/events/MANAGER_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 Input Manager Boot Event. * * This internal event is dispatched by the Input Manager when it boots. * * @event Phaser.Input.Event...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_POINTER_DOWN_EVENT.js
src/input/events/GAMEOBJECT_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 Game Object Pointer Down Event. * * This event is dispatched by an interactive Game Object if a pointer is pressed down on it. * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DRAG_EVENT.js
src/input/events/GAMEOBJECT_DRAG_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 Event. * * This event is dispatched by an interactive Game Object if a pointer moves while dragging it. * * List...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAME_OVER_EVENT.js
src/input/events/GAME_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 Input Plugin Game Over Event. * * This event is dispatched by the Input Plugin if the active pointer enters the game canvas and is ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/MANAGER_UPDATE_EVENT.js
src/input/events/MANAGER_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 Manager Update Event. * * This internal event is dispatched by the Input Manager as part of its update step. * * @event Pha...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/PRE_UPDATE_EVENT.js
src/input/events/PRE_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 Pre-Update Event. * * This internal event is dispatched by the Input Plugin at the start of its `preUpdate` method. *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DRAG_END_EVENT.js
src/input/events/DRAG_END_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 End Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer stops dragging a G...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DRAG_OVER_EVENT.js
src/input/events/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 Pointer Drag Over Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer drags a Game Obje...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_POINTER_WHEEL_EVENT.js
src/input/events/GAMEOBJECT_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 Game Object Pointer Wheel Event. * * This event is dispatched by an interactive Game Object if a pointer has its wheel moved while ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_POINTER_OVER_EVENT.js
src/input/events/GAMEOBJECT_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 Game Object Pointer Over Event. * * This event is dispatched by an interactive Game Object if a pointer moves over it. * * Listen...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DRAG_EVENT.js
src/input/events/DRAG_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 Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves while dragging a...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/index.js
src/input/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.Events */ module.exports = { BOOT: require('./BOOT_EVENT'), DESTROY: require('./DESTROY_EVENT'), D...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DROP_EVENT.js
src/input/events/GAMEOBJECT_DROP_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 Drop Event. * * This event is dispatched by an interactive Game Object if a pointer drops it on a Drag Target. * * Li...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DRAG_START_EVENT.js
src/input/events/GAMEOBJECT_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 Game Object Drag Start Event. * * This event is dispatched by an interactive Game Object if a pointer starts to drag it. * * List...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_OVER_EVENT.js
src/input/events/GAMEOBJECT_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 Over Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves over _any_ i...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/DROP_EVENT.js
src/input/events/DROP_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 Drop Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer drops a Game Object on...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTER_MOVE_EVENT.js
src/input/events/POINTER_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 Pointer Move Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is moved anywhere. * ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/POINTER_UP_OUTSIDE_EVENT.js
src/input/events/POINTER_UP_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 Up Outside Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is released anyw...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DRAG_END_EVENT.js
src/input/events/GAMEOBJECT_DRAG_END_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 End Event. * * This event is dispatched by an interactive Game Object if a pointer stops dragging it. * * Listen...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/input/events/GAMEOBJECT_DRAG_ENTER_EVENT.js
src/input/events/GAMEOBJECT_DRAG_ENTER_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 Enter Event. * * This event is dispatched by an interactive Game Object if a pointer drags it into 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_POINTER_MOVE_EVENT.js
src/input/events/GAMEOBJECT_POINTER_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 Pointer Move Event. * * This event is dispatched by an interactive Game Object if a pointer is moved 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/GAMEOBJECT_UP_EVENT.js
src/input/events/GAMEOBJECT_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 Up Input Event. * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is released while ov...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false