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/gameobjects/shape/grid/GridCanvasRenderer.js | src/gameobjects/shape/grid/GridCanvasRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var FillStyleCanvas = require('../FillStyleCanvas');
var LineStyleCanvas = require('../LineStyleCanvas');
var SetTransform = require('../../../r... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/grid/Grid.js | src/gameobjects/shape/grid/Grid.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 Shape = require('../Shape');
var GridRender = require('./GridRender');
/**
* @classdesc
* Th... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/grid/GridWebGLRenderer.js | src/gameobjects/shape/grid/GridWebGLRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetCalcMatrix = require('../../GetCalcMatrix');
var Utils = require('../../../renderer/webgl/Utils');
/**
* Renders this Game Object with ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/grid/GridFactory.js | src/gameobjects/shape/grid/GridFactory.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GameObjectFactory = require('../../GameObjectFactory');
var Grid = require('./Grid');
/**
* Creates a new Grid Shape Game Object and adds ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/star/StarWebGLRenderer.js | src/gameobjects/shape/star/StarWebGLRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var FillPathWebGL = require('../FillPathWebGL');
var GetCalcMatrix = require('../../GetCalcMatrix');
var StrokePathWebGL = require('../StrokePat... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/star/StarFactory.js | src/gameobjects/shape/star/StarFactory.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Star = require('./Star');
var GameObjectFactory = require('../../GameObjectFactory');
/**
* Creates a new Star Shape Game Object and adds ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/star/Star.js | src/gameobjects/shape/star/Star.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var StarRender = require('./StarRender');
var Class = require('../../../utils/Class');
var Earcut = require('../../../geom/polygon/Earcut');
var... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/star/StarCanvasRenderer.js | src/gameobjects/shape/star/StarCanvasRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var FillStyleCanvas = require('../FillStyleCanvas');
var LineStyleCanvas = require('../LineStyleCanvas');
var SetTransform = require('../../../r... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/shape/star/StarRender.js | src/gameobjects/shape/star/StarRender.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var NOOP = require('../../../utils/NOOP');
var renderWebGL = NOOP;
var renderCanvas = NOOP;
if (typeof WEBGL_RENDERER)
{
renderWebGL = requ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/VideoWebGLRenderer.js | src/gameobjects/video/VideoWebGLRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Renders this Game Object with the WebGL Renderer to the given Camera.
* The object will not render if any of its renderFlags are set or ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/VideoCanvasRenderer.js | src/gameobjects/video/VideoCanvasRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Renders this Game Object with the Canvas Renderer to the given Camera.
* The object will not render if any of its renderFlags are set or... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/VideoFactory.js | src/gameobjects/video/VideoFactory.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Video = require('./Video');
var GameObjectFactory = require('../GameObjectFactory');
/**
* Creates a new Video Game Object and adds it to ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/VideoRender.js | src/gameobjects/video/VideoRender.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var NOOP = require('../../utils/NOOP');
var renderWebGL = NOOP;
var renderCanvas = NOOP;
if (typeof WEBGL_RENDERER)
{
renderWebGL = require... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/Video.js | src/gameobjects/video/Video.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 Components = require('../components');
var Events = requi... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/VideoCreator.js | src/gameobjects/video/VideoCreator.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var BuildGameObject = require('../BuildGameObject');
var GameObjectCreator = require('../GameObjectCreator');
var GetAdvancedValue = require('..... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/typedefs/index.js | src/gameobjects/video/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.GameObjects.Video
*/
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/video/typedefs/VideoConfig.js | src/gameobjects/video/typedefs/VideoConfig.js | /**
* @typedef {object} Phaser.Types.GameObjects.Video.VideoConfig
* @extends Phaser.Types.GameObjects.GameObjectConfig
* @since 3.50.0
*
* @property {string} [key] - Optional key of the Video this Game Object will play, as stored in the Video Cache.
*/
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/typedefs/GameObjectConfig.js | src/gameobjects/typedefs/GameObjectConfig.js | /**
* @typedef {object} Phaser.Types.GameObjects.GameObjectConfig
* @since 3.0.0
*
* @property {(number|object)} [x=0] - The x position of the Game Object.
* @property {(number|object)} [y=0] - The y position of the Game Object.
* @property {number} [depth=0] - The depth of the GameObject.
* @property {boolean} ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/typedefs/GetCalcMatrixResults.js | src/gameobjects/typedefs/GetCalcMatrixResults.js | /**
* @typedef {object} Phaser.Types.GameObjects.GetCalcMatrixResults
* @since 3.50.0
*
* @property {Phaser.GameObjects.Components.TransformMatrix} camera - The calculated Camera matrix.
* @property {Phaser.GameObjects.Components.TransformMatrix} sprite - The calculated Sprite (Game Object) matrix.
* @property {P... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/typedefs/Face.js | src/gameobjects/typedefs/Face.js | /**
* @typedef {object} Phaser.Types.GameObjects.Face
* @since 3.50.0
*
* @property {Phaser.Types.GameObjects.Vertex} vertex1 - The first face vertex.
* @property {Phaser.Types.GameObjects.Vertex} vertex2 - The second face vertex.
* @property {Phaser.Types.GameObjects.Vertex} vertex3 - The third face vertex.
* @... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/typedefs/JSONGameObject.js | src/gameobjects/typedefs/JSONGameObject.js | /**
* @typedef {object} Phaser.Types.GameObjects.JSONGameObject
* @since 3.0.0
*
* @property {string} name - The name of this Game Object.
* @property {string} type - A textual representation of this Game Object, i.e. `sprite`.
* @property {number} x - The x position of this Game Object.
* @property {number} y -... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/typedefs/index.js | src/gameobjects/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.GameObjects
*/
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/typedefs/Vertex.js | src/gameobjects/typedefs/Vertex.js | /**
* @typedef {object} Phaser.Types.GameObjects.Vertex
* @since 3.50.0
*
* @property {number} x - The x coordinate of the vertex.
* @property {number} y - The y coordinate of the vertex.
* @property {number} z - The z coordinate of the vertex.
* @property {number} normalX - The x normal of the vertex.
* @prope... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/gameobjects/typedefs/DecomposeMatrixResults.js | src/gameobjects/typedefs/DecomposeMatrixResults.js | /**
* @typedef {object} Phaser.Types.GameObjects.DecomposeMatrixResults
* @since 3.60.0
*
* @property {number} translateX - The translated x value.
* @property {number} translateY - The translated y value.
* @property {number} rotation - The rotation value.
* @property {number} scaleX - The scale x value.
* @pr... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/index.js | src/scale/index.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Extend = require('../utils/object/Extend');
var CONST = require('./const');
/**
* @namespace Phaser.Scale
*
* @borrows Phaser.Scale.Cent... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/ScaleManager.js | src/scale/ScaleManager.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 Class = require('../utils/Class');
var Clamp = require('../math/Clamp');
var EventEmitter = require('eventem... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/events/LEAVE_FULLSCREEN_EVENT.js | src/scale/events/LEAVE_FULLSCREEN_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Scale Manager was in fullscreen mode, but has since left, either directly via game code,
* or via a user gestured, such as pressing ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/events/FULLSCREEN_FAILED_EVENT.js | src/scale/events/FULLSCREEN_FAILED_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Scale Manager tried to enter fullscreen mode but failed.
*
* @event Phaser.Scale.Events#FULLSCREEN_FAILED
* @type {string}
* @sin... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/events/index.js | src/scale/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.Scale.Events
*/
module.exports = {
ENTER_FULLSCREEN: require('./ENTER_FULLSCREEN_EVENT'),
FULLSCREEN_FAILED:... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/events/ORIENTATION_CHANGE_EVENT.js | src/scale/events/ORIENTATION_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 Scale Manager Orientation Change Event.
*
* This event is dispatched whenever the Scale Manager detects an orientation change event... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/events/RESIZE_EVENT.js | src/scale/events/RESIZE_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Scale Manager Resize Event.
*
* This event is dispatched whenever the Scale Manager detects a resize event from the browser.
* It ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/events/FULLSCREEN_UNSUPPORTED_EVENT.js | src/scale/events/FULLSCREEN_UNSUPPORTED_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Scale Manager tried to enter fullscreen mode, but it is unsupported by the browser.
*
* @event Phaser.Scale.Events#FULLSCREEN_UNSUP... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/events/ENTER_FULLSCREEN_EVENT.js | src/scale/events/ENTER_FULLSCREEN_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Scale Manager has successfully entered fullscreen mode.
*
* @event Phaser.Scale.Events#ENTER_FULLSCREEN
* @type {string}
* @since... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/const/index.js | src/scale/const/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 = {
CENTER: require('./CENTER_CONST'),
ORIENTATION: require('./ORIENTATION_CONST'),
SCALE_MODE: require('./SCALE_MODE_CON... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/const/SCALE_MODE_CONST.js | src/scale/const/SCALE_MODE_CONST.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Phaser Scale Manager constants for the different scale modes available.
*
* @namespace Phaser.Scale.ScaleModes
* @memberof Phaser.Scal... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/const/ZOOM_CONST.js | src/scale/const/ZOOM_CONST.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Phaser Scale Manager constants for zoom modes.
*
* @namespace Phaser.Scale.Zoom
* @memberof Phaser.Scale
* @since 3.16.0
*/
/**
* ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/const/CENTER_CONST.js | src/scale/const/CENTER_CONST.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Phaser Scale Manager constants for centering the game canvas.
*
* @namespace Phaser.Scale.Center
* @memberof Phaser.Scale
* @since 3.... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/scale/const/ORIENTATION_CONST.js | src/scale/const/ORIENTATION_CONST.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Phaser Scale Manager constants for orientation.
*
* @namespace Phaser.Scale.Orientation
* @memberof Phaser.Scale
* @since 3.16.0
*/
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/TextureSource.js | src/textures/TextureSource.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CanvasPool = require('../display/canvas/CanvasPool');
var Class = require('../utils/Class');
var IsSizePowerOfTwo = require('../math/pow2/Is... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/TextureManager.js | src/textures/TextureManager.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CanvasPool = require('../display/canvas/CanvasPool');
var CanvasTexture = require('./CanvasTexture');
var Class = require('../utils/Class');... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/index.js | src/textures/index.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Extend = require('../utils/object/Extend');
var FilterMode = require('./const');
/**
* @namespace Phaser.Textures
*/
/**
* Linear filte... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/const.js | src/textures/const.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Filter Types.
*
* @namespace Phaser.Textures.FilterMode
* @memberof Phaser.Textures
* @since 3.0.0
*/
var CONST = {
/**
* ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/Frame.js | src/textures/Frame.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 Clamp = require('../math/Clamp');
var Extend = require('../utils/object/Extend');
/**
* @classdesc
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/CanvasTexture.js | src/textures/CanvasTexture.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 Clamp = require('../math/Clamp');
var Color = require('../display/color/Color');
var CONST = require(... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/DynamicTexture.js | src/textures/DynamicTexture.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var BlendModes = require('../renderer/BlendModes');
var Camera = require('../cameras/2d/Camera');
var CanvasPool = require('../display/canvas/Ca... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/Texture.js | src/textures/Texture.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 Frame = require('./Frame');
var TextureSource = require('./TextureSource');
var TEXTURE_MISSING_ERRO... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/ADD_EVENT.js | src/textures/events/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 Texture Add Event.
*
* This event is dispatched by the Texture Manager when a texture is added to it.
*
* Listen to this event fr... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/index.js | src/textures/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.Textures.Events
*/
module.exports = {
ADD: require('./ADD_EVENT'),
ADD_KEY: require('./ADD_KEY_EVENT'),
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/ERROR_EVENT.js | src/textures/events/ERROR_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Texture Load Error Event.
*
* This event is dispatched by the Texture Manager when a texture it requested to load failed.
* This o... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/ADD_KEY_EVENT.js | src/textures/events/ADD_KEY_EVENT.js | /**
* @author samme
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Texture Add Key Event.
*
* This event is dispatched by the Texture Manager when a texture with the given key is added to it.
*
* Listen to this event from... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/LOAD_EVENT.js | src/textures/events/LOAD_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Texture Load Event.
*
* This event is dispatched by the Texture Manager when a texture has finished loading on it.
* This only hap... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/REMOVE_EVENT.js | src/textures/events/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 Texture Remove Event.
*
* This event is dispatched by the Texture Manager when a texture is removed from it.
*
* Listen to this e... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/REMOVE_KEY_EVENT.js | src/textures/events/REMOVE_KEY_EVENT.js | /**
* @author samme
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Texture Remove Key Event.
*
* This event is dispatched by the Texture Manager when a texture with the given key is removed from it.
*
* Listen to this eve... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/events/READY_EVENT.js | src/textures/events/READY_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* This internal event signifies that the Texture Manager is now ready and the Game can continue booting.
*
* When a Phaser Game instance ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/JSONHash.js | src/textures/parsers/JSONHash.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('../../utils/object/Clone');
/**
* Parses a Texture Atlas JSON Hash and adds the Frames to the Texture.
* JSON format exp... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/Image.js | src/textures/parsers/Image.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Adds an Image Element to a Texture.
*
* @function Phaser.Textures.Parsers.Image
* @memberof Phaser.Textures.Parsers
* @private
* @si... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/index.js | src/textures/parsers/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.Textures.Parsers
*/
module.exports = {
AtlasXML: require('./AtlasXML'),
Canvas: require('./Canvas'),
Ima... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/PVRParser.js | src/textures/parsers/PVRParser.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2021 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* @ignore
*/
function GetSize (width, height, x, y, dx, dy, mult)
{
if (mult === undefined) { mult = 16; }
return Math.floor((width + x... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/JSONArray.js | src/textures/parsers/JSONArray.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('../../utils/object/Clone');
/**
* Parses a Texture Atlas JSON Array and adds the Frames to the Texture.
* JSON format ex... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/AtlasXML.js | src/textures/parsers/AtlasXML.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Parses an XML Texture Atlas object and adds all the Frames into a Texture.
*
* @function Phaser.Textures.Parsers.AtlasXML
* @memberof ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/KTXParser.js | src/textures/parsers/KTXParser.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2021 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Parses a KTX format Compressed Texture file and generates texture data suitable for WebGL from it.
*
* @function Phaser.Textures.Parsers.KTXP... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/SpriteSheet.js | src/textures/parsers/SpriteSheet.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetFastValue = require('../../utils/object/GetFastValue');
/**
* Parses a Sprite Sheet and adds the Frames to the Texture.
*
* In Phaser... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/SpriteSheetFromAtlas.js | src/textures/parsers/SpriteSheetFromAtlas.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetFastValue = require('../../utils/object/GetFastValue');
/**
* Parses a Sprite Sheet and adds the Frames to the Texture, where the Sprit... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/UnityYAML.js | src/textures/parsers/UnityYAML.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var imageHeight = 0;
/**
* @function addFrame
* @private
* @since 3.0.0
*/
var addFrame = function (texture, sourceIndex, name, frame)
{
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/VerifyCompressedTexture.js | src/textures/parsers/VerifyCompressedTexture.js | /**
* @author Ben Richards <benjamindrichards@gmail.com>
* @copyright 2024 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var IsSizePowerOfTwo = require('../../math/pow2/IsSizePowerOfTwo');
/**
* Verify whether the given compressed texture data is valid.
*
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/parsers/Canvas.js | src/textures/parsers/Canvas.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Adds a Canvas Element to a Texture.
*
* @function Phaser.Textures.Parsers.Canvas
* @memberof Phaser.Textures.Parsers
* @private
* @s... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/typedefs/CompressedTextureData.js | src/textures/typedefs/CompressedTextureData.js | /**
* An object containing the dimensions and mipmap data for a Compressed Texture.
*
* @typedef {object} Phaser.Types.Textures.CompressedTextureData
* @since 3.60.0
*
* @property {boolean} compressed - Is this a compressed texture?
* @property {boolean} generateMipmap - Should this texture have mipmaps generate... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/typedefs/PixelConfig.js | src/textures/typedefs/PixelConfig.js | /**
* An object containing the position and color data for a single pixel in a CanvasTexture.
*
* @typedef {object} Phaser.Types.Textures.PixelConfig
* @since 3.16.0
*
* @property {number} x - The x-coordinate of the pixel.
* @property {number} y - The y-coordinate of the pixel.
* @property {number} color - The... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/typedefs/SpriteSheetConfig.js | src/textures/typedefs/SpriteSheetConfig.js | /**
* @typedef {object} Phaser.Types.Textures.SpriteSheetConfig
* @since 3.0.0
*
* @property {number} frameWidth - The fixed width of each frame.
* @property {number} [frameHeight] - The fixed height of each frame. If not set it will use the frameWidth as the height.
* @property {number} [startFrame=0] - Skip a ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/typedefs/index.js | src/textures/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.Textures
*/
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/typedefs/MipmapType.js | src/textures/typedefs/MipmapType.js | /**
* A Mipmap Data entry for a Compressed Texture.
*
* @typedef {object} Phaser.Types.Textures.MipmapType
* @since 3.60.0
*
* @property {number} width - The width of this level of the mipmap.
* @property {number} height - The height of this level of the mipmap.
* @property {Uint8Array} data - The decoded pixel... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/typedefs/SpriteSheetFromAtlasConfig.js | src/textures/typedefs/SpriteSheetFromAtlasConfig.js | /**
* @typedef {object} Phaser.Types.Textures.SpriteSheetFromAtlasConfig
* @since 3.0.0
*
* @property {string} atlas - The key of the Texture Atlas in which this Sprite Sheet can be found.
* @property {string} frame - The key of the Texture Atlas Frame in which this Sprite Sheet can be found.
* @property {number... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/textures/typedefs/StampConfig.js | src/textures/typedefs/StampConfig.js | /**
* An object containing the position and color data for a single pixel in a CanvasTexture.
*
* @typedef {object} Phaser.Types.Textures.StampConfig
* @since 3.60.0
*
* @property {number} [alpha=1] - The alpha value used by the stamp.
* @property {number} [tint=0xffffff] - The tint color value used by the sta... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/AnimationState.js | src/animations/AnimationState.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Animation = require('./Animation');
var Between = require('../math/Between');
var Class = require('../utils/Class');
var CustomMap = require... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/index.js | src/animations/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.Animations
*/
module.exports = {
Animation: require('./Animation'),
AnimationFrame: require('./AnimationFram... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/Animation.js | src/animations/Animation.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Clamp = require('../math/Clamp');
var Class = require('../utils/Class');
var Events = require('./events');
var FindClosestInSorted = require... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/AnimationManager.js | src/animations/AnimationManager.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Animation = require('./Animation');
var Class = require('../utils/Class');
var CustomMap = require('../structs/Map');
var EventEmitter = req... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/AnimationFrame.js | src/animations/AnimationFrame.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
* A single frame in an Animation sequence.
*
* An AnimationFrame consists of a refe... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/PAUSE_ALL_EVENT.js | src/animations/events/PAUSE_ALL_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Pause All Animations Event.
*
* This event is dispatched when the global Animation Manager is told to pause.
*
* When this happen... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/RESUME_ALL_EVENT.js | src/animations/events/RESUME_ALL_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Resume All Animations Event.
*
* This event is dispatched when the global Animation Manager resumes, having been previously paused.... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/index.js | src/animations/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.Animations.Events
*/
module.exports = {
ADD_ANIMATION: require('./ADD_ANIMATION_EVENT'),
ANIMATION_COMPLETE:... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ANIMATION_REPEAT_EVENT.js | src/animations/events/ANIMATION_REPEAT_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Animation Repeat Event.
*
* This event is dispatched by a Sprite when an animation repeats playing on it.
* This happens if the an... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ADD_ANIMATION_EVENT.js | src/animations/events/ADD_ANIMATION_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Add Animation Event.
*
* This event is dispatched when a new animation is added to the global Animation Manager.
*
* This can hap... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ANIMATION_COMPLETE_EVENT.js | src/animations/events/ANIMATION_COMPLETE_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Animation Complete Event.
*
* This event is dispatched by a Sprite when an animation playing on it completes playback.
* This happ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ANIMATION_UPDATE_EVENT.js | src/animations/events/ANIMATION_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 Animation Update Event.
*
* This event is dispatched by a Sprite when an animation playing on it updates. This happens when the ani... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ANIMATION_COMPLETE_KEY_EVENT.js | src/animations/events/ANIMATION_COMPLETE_KEY_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Animation Complete Dynamic Key Event.
*
* This event is dispatched by a Sprite when an animation playing on it completes playback.
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/REMOVE_ANIMATION_EVENT.js | src/animations/events/REMOVE_ANIMATION_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Remove Animation Event.
*
* This event is dispatched when an animation is removed from the global Animation Manager.
*
* @event P... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ANIMATION_STOP_EVENT.js | src/animations/events/ANIMATION_STOP_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Animation Stop Event.
*
* This event is dispatched by a Sprite when an animation is stopped on it. An animation
* will only be sto... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ANIMATION_RESTART_EVENT.js | src/animations/events/ANIMATION_RESTART_EVENT.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Animation Restart Event.
*
* This event is dispatched by a Sprite when an animation restarts playing on it.
* This only happens wh... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/events/ANIMATION_START_EVENT.js | src/animations/events/ANIMATION_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 Animation Start Event.
*
* This event is dispatched by a Sprite when an animation starts playing on it.
* This happens when the an... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/JSONAnimation.js | src/animations/typedefs/JSONAnimation.js | /**
* @typedef {object} Phaser.Types.Animations.JSONAnimation
* @since 3.0.0
*
* @property {string} key - The key that the animation will be associated with. i.e. sprite.animations.play(key)
* @property {string} type - A frame based animation (as opposed to a bone based animation)
* @property {Phaser.Types.Animat... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/index.js | src/animations/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.Animations
*/
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/PlayAnimationConfig.js | src/animations/typedefs/PlayAnimationConfig.js | /**
* @typedef {object} Phaser.Types.Animations.PlayAnimationConfig
* @since 3.50.0
*
* @property {(string|Phaser.Animations.Animation)} key - The string-based key of the animation to play, or an Animation instance.
* @property {number} [frameRate] - The frame rate of playback in frames per second (default 24 if d... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/Animation.js | src/animations/typedefs/Animation.js | /**
* @typedef {object} Phaser.Types.Animations.Animation
* @since 3.0.0
*
* @property {string} [key] - The key that the animation will be associated with. i.e. sprite.animations.play(key)
* @property {string|Phaser.Types.Animations.AnimationFrame[]} [frames] - Either a string, in which case it will use all frames... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/GenerateFrameNumbers.js | src/animations/typedefs/GenerateFrameNumbers.js | /**
* @typedef {object} Phaser.Types.Animations.GenerateFrameNumbers
* @since 3.0.0
*
* @property {number} [start=0] - The starting frame of the animation.
* @property {number} [end=-1] - The ending frame of the animation.
* @property {(boolean|number)} [first=false] - A frame to put at the beginning of the anima... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/JSONAnimationFrame.js | src/animations/typedefs/JSONAnimationFrame.js | /**
* @typedef {object} Phaser.Types.Animations.JSONAnimationFrame
* @since 3.0.0
*
* @property {string} key - The key of the Texture this AnimationFrame uses.
* @property {(string|number)} frame - The key of the Frame within the Texture that this AnimationFrame uses.
* @property {number} duration - Additional ti... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/JSONAnimations.js | src/animations/typedefs/JSONAnimations.js | /**
* @typedef {object} Phaser.Types.Animations.JSONAnimations
* @since 3.0.0
*
* @property {Phaser.Types.Animations.JSONAnimation[]} anims - An array of all Animations added to the Animation Manager.
* @property {number} globalTimeScale - The global time scale of the Animation Manager.
*/
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/AnimationFrame.js | src/animations/typedefs/AnimationFrame.js | /**
* @typedef {object} Phaser.Types.Animations.AnimationFrame
* @since 3.0.0
*
* @property {string} [key] - The key of the texture within the Texture Manager to use for this Animation Frame.
* @property {(string|number)} [frame] - The key, or index number, of the frame within the texture to use for this Animation... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/animations/typedefs/GenerateFrameNames.js | src/animations/typedefs/GenerateFrameNames.js | /**
* @typedef {object} Phaser.Types.Animations.GenerateFrameNames
* @since 3.0.0
*
* @property {string} [prefix=''] - The string to append to every resulting frame name if using a range or an array of `frames`.
* @property {number} [start=0] - If `frames` is not provided, the number of the first frame to return.
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/fx/Blur.js | src/fx/Blur.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 Controller = require('./Controller');
var FX_CONST = require('./const');
/**
* @classdesc
* The Bl... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.