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/physics/arcade/typedefs/PhysicsGroupDefaults.js | src/physics/arcade/typedefs/PhysicsGroupDefaults.js | /**
* @typedef {object} Phaser.Types.Physics.Arcade.PhysicsGroupDefaults
* @since 3.0.0
*
* @property {boolean} setCollideWorldBounds - As {@link Phaser.Physics.Arcade.Body#setCollideWorldBounds}.
* @property {Phaser.Geom.Rectangle} setBoundsRectangle - As {@link Phaser.Physics.Arcade.Body#setBoundsRectangle}.
* ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ArcadePhysicsCallback.js | src/physics/arcade/typedefs/ArcadePhysicsCallback.js | /**
* @callback Phaser.Types.Physics.Arcade.ArcadePhysicsCallback
*
* A callback receiving two Game Objects.
*
* When colliding a single sprite with a Group or TilemapLayer, `object1` is always the sprite.
*
* For all other cases, `object1` and `object2` match the same arguments in `collide()` or `overlap()`.
*... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ArcadeWorldDefaults.js | src/physics/arcade/typedefs/ArcadeWorldDefaults.js | /**
* @typedef {object} Phaser.Types.Physics.Arcade.ArcadeWorldDefaults
* @since 3.0.0
*
* @property {boolean} debugShowBody - Set to `true` to render dynamic body outlines to the debug display.
* @property {boolean} debugShowStaticBody - Set to `true` to render static body outlines to the debug display.
* @prope... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ArcadeWorldConfig.js | src/physics/arcade/typedefs/ArcadeWorldConfig.js | /**
* @typedef {object} Phaser.Types.Physics.Arcade.ArcadeWorldConfig
* @since 3.0.0
*
* @property {number} [fps=60] - Sets {@link Phaser.Physics.Arcade.World#fps}.
* @property {boolean} [fixedStep=true] - Sets {@link Phaser.Physics.Arcade.World#fixedStep}.
* @property {number} [timeScale=1] - Sets {@link Phaser.... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/GameObjectWithBody.js | src/physics/arcade/typedefs/GameObjectWithBody.js | /**
* @typedef {object} Phaser.Types.Physics.Arcade.GameObjectWithBody
* @extends Phaser.GameObjects.GameObject
*
* @property {(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody)} body
*/
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/PhysicsGroupConfig.js | src/physics/arcade/typedefs/PhysicsGroupConfig.js | /**
* @typedef {object} Phaser.Types.Physics.Arcade.PhysicsGroupConfig
* @extends Phaser.Types.GameObjects.Group.GroupConfig
* @since 3.0.0
*
* @property {boolean} [collideWorldBounds=false] - Sets {@link Phaser.Physics.Arcade.Body#collideWorldBounds}.
* @property {Phaser.Geom.Rectangle} [customBoundsRectangle=nu... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/Math.trunc.js | src/polyfills/Math.trunc.js | // ES6 Math.trunc - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc
if (!Math.trunc) {
Math.trunc = function trunc(x) {
return x < 0 ? Math.ceil(x) : Math.floor(x);
};
}
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/index.js | src/polyfills/index.js | require('./Array.forEach');
require('./Array.isArray');
require('./AudioContextMonkeyPatch');
require('./console');
require('./Math.trunc');
require('./performance.now');
require('./requestAnimationFrame');
require('./requestVideoFrame');
require('./Uint32Array');
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/requestAnimationFrame.js | src/polyfills/requestAnimationFrame.js | // References:
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// https://gist.github.com/1579671
// http://updates.html5rocks.com/2012/05/requestAnimationFrame-API-now-with-sub-millisecond-precision
// https://gist.github.com/timhall/4078614
// https://github.com/Financial-Times/polyfill-servic... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/AudioContextMonkeyPatch.js | src/polyfills/AudioContextMonkeyPatch.js | /* Copyright 2013 Chris Wilson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writi... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/console.js | src/polyfills/console.js | /**
* Also fix for the absent console in IE9
*/
if (!window.console)
{
window.console = {};
window.console.log = window.console.assert = function(){};
window.console.warn = window.console.assert = function(){};
}
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/Array.isArray.js | src/polyfills/Array.isArray.js | /**
* A polyfill for Array.isArray
*/
if (!Array.isArray)
{
Array.isArray = function (arg)
{
return Object.prototype.toString.call(arg) === '[object Array]';
};
}
| javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/Array.forEach.js | src/polyfills/Array.forEach.js | /**
* A polyfill for Array.forEach
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
*/
if (!Array.prototype.forEach)
{
Array.prototype.forEach = function (fun /*, thisArg */)
{
'use strict';
if (this === void 0 || this === null)
{
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/Uint32Array.js | src/polyfills/Uint32Array.js | /**
* Low-budget Float32Array knock-off, suitable for use with P2.js in IE9
* Source: http://www.html5gamedevs.com/topic/5988-phaser-12-ie9/
* Cameron Foale (http://www.kibibu.com)
*/
if (typeof window.Uint32Array !== 'function' && typeof window.Uint32Array !== 'object')
{
var CheapArray = function (fakeType)
{... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/requestVideoFrame.js | src/polyfills/requestVideoFrame.js | // From https://github.com/ThaUnknown/rvfc-polyfill
if (typeof HTMLVideoElement !== 'undefined' && !('requestVideoFrameCallback' in HTMLVideoElement.prototype) && 'getVideoPlaybackQuality' in HTMLVideoElement.prototype)
{
HTMLVideoElement.prototype._rvfcpolyfillmap = {}
HTMLVideoElement.prototype.requestVideo... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/polyfills/performance.now.js | src/polyfills/performance.now.js | /**
* performance.now
*/
(function () {
if ('performance' in window === false)
{
window.performance = {};
}
// Thanks IE8
Date.now = (Date.now || function () {
return new Date().getTime();
});
if ('now' in window.performance === false)
{
var nowOffset = Date... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/CanvasFeatures.js | src/device/CanvasFeatures.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');
/**
* Determines the canvas features of the browser running this Phaser Game instanc... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/Features.js | src/device/Features.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var OS = require('./OS');
var Browser = require('./Browser');
var CanvasPool = require('../display/canvas/CanvasPool');
/**
* Determines the f... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/Input.js | src/device/Input.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Browser = require('./Browser');
/**
* Determines the input support of the browser running this Phaser Game instance.
* These values are r... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/index.js | src/device/index.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
// This singleton is instantiated as soon as Phaser loads,
// before a Phaser.Game instance has even been created.
// Which means all instanc... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/OS.js | src/device/OS.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Determines the operating system of the device running this Phaser Game instance.
* These values are read-only and populated during the b... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/Audio.js | src/device/Audio.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Browser = require('./Browser');
/**
* Determines the audio playback capabilities of the device running this Phaser Game instance.
* These... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/Browser.js | src/device/Browser.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var OS = require('./OS');
/**
* Determines the browser type and version running this Phaser Game instance.
* These values are read-only and p... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/Video.js | src/device/Video.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');
/**
* Determines the video support of the browser running this Phaser Game instanc... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/device/Fullscreen.js | src/device/Fullscreen.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Determines the full screen support of the browser running this Phaser Game instance.
* These values are read-only and populated during t... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/Tilemap.js | src/tilemaps/Tilemap.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var BuildTilesetIndex = require('./parsers/tiled/BuildTilesetIndex');
var Class = require('../utils/Class');
var DegToRad = require('../math/Deg... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/TilemapLayer.js | src/tilemaps/TilemapLayer.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 CollisionComponent = require('../physics/arcade/components/Collision');
var Components = require('../... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | true |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/Formats.js | src/tilemaps/Formats.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* @namespace Phaser.Tilemaps.Formats
*/
module.exports = {
/**
* CSV Map Type
*
* @name Phaser.Tilemaps.Formats.CSV
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/TilemapLayerCanvasRenderer.js | src/tilemaps/TilemapLayerCanvasRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var TransformMatrix = require('../gameobjects/components/TransformMatrix');
var tempMatrix1 = new TransformMatrix();
var tempMatrix2 = new Tran... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/index.js | src/tilemaps/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.Tilemaps
*
* @borrows Phaser.Tilemap... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/ImageCollection.js | src/tilemaps/ImageCollection.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
* An Image Collection is a special Tile Set containing multiple images, with no slici... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/Tile.js | src/tilemaps/Tile.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Class = require('../utils/Class');
var Components = require('../gameobjects/components');
var CONST = require('./const/ORIENTATION_CONST');
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/TilemapCreator.js | src/tilemaps/TilemapCreator.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GameObjectCreator = require('../gameobjects/GameObjectCreator');
var ParseToTilemap = require('./ParseToTilemap');
/**
* Creates a Tilemap... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/Tileset.js | src/tilemaps/Tileset.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 Vector2 = require('../math/Vector2');
/**
* @classdesc
* A Tileset is a combination of a single im... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/TilemapFactory.js | src/tilemaps/TilemapFactory.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('../gameobjects/GameObjectFactory');
var ParseToTilemap = require('./ParseToTilemap');
/**
* Creates a Tilemap... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/ParseToTilemap.js | src/tilemaps/ParseToTilemap.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Formats = require('./Formats');
var MapData = require('./mapdata/MapData');
var Parse = require('./parsers/Parse');
var Tilemap = require('.... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/TilemapLayerRender.js | src/tilemaps/TilemapLayerRender.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/tilemaps/TilemapLayerWebGLRenderer.js | src/tilemaps/TilemapLayerWebGLRenderer.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Utils = require('../renderer/webgl/Utils');
/**
* Renders this Game Object with the WebGL Renderer to the given Camera.
* The object will... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/ObjectHelper.js | src/tilemaps/ObjectHelper.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2021 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Class = require('../utils/Class');
/**
* @classdesc
* The ObjectHelper helps tie objects with `gids` into the tileset
* that sits behind them.... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/HexagonalWorldToTileXY.js | src/tilemaps/components/HexagonalWorldToTileXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Vector2 = require('../../math/Vector2');
/**
* Converts from world XY coordinates (pixels) to hexagonal tile XY coordinates (tile units), ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/StaggeredCullBounds.js | src/tilemaps/components/StaggeredCullBounds.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var SnapCeil = require('../../math/snap/SnapCeil');
var SnapFloor = require('../../math/snap/SnapFloor');
/**
* Returns the bounds in the give... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetWorldToTileYFunction.js | src/tilemaps/components/GetWorldToTileYFunction.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/ORIENTATION_CONST');
var NULL = require('../../utils/NULL');
var StaggeredWorldToTileY = require('./StaggeredWorld... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/IsInLayerBounds.js | src/tilemaps/components/IsInLayerBounds.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Checks if the given tile coordinates are within the bounds of the layer.
*
* @function Phaser.Tilemaps.Components.IsInLayerBounds
* @s... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/WorldToTileY.js | src/tilemaps/components/WorldToTileY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var WorldToTileXY = require('./WorldToTileXY');
var Vector2 = require('../../math/Vector2');
var tempVec = new Vector2();
/**
* Converts from... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/StaggeredWorldToTileXY.js | src/tilemaps/components/StaggeredWorldToTileXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Vector2 = require('../../math/Vector2');
/**
* Converts from world XY coordinates (pixels) to staggered tile XY coordinates (tile units), ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/HasTileAt.js | src/tilemaps/components/HasTileAt.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var IsInLayerBounds = require('./IsInLayerBounds');
/**
* Checks if there is a tile at the given location (in tile coordinates) in the given l... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/Randomize.js | src/tilemaps/components/Randomize.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
var GetRandom = require('../../utils/array/GetRandom');
/**
* Randomizes the indexes of a re... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/CalculateFacesWithin.js | src/tilemaps/components/CalculateFacesWithin.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTileAt = require('./GetTileAt');
var GetTilesWithin = require('./GetTilesWithin');
/**
* Calculates interesting faces within the rectan... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/WorldToTileX.js | src/tilemaps/components/WorldToTileX.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var WorldToTileXY = require('./WorldToTileXY');
var Vector2 = require('../../math/Vector2');
var tempVec = new Vector2();
/**
* Converts from... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetCullTilesFunction.js | src/tilemaps/components/GetCullTilesFunction.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/ORIENTATION_CONST');
var CullTiles = require('./CullTiles');
var HexagonalCullTiles = require('./HexagonalCullTile... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTileToWorldYFunction.js | src/tilemaps/components/GetTileToWorldYFunction.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/ORIENTATION_CONST');
var NOOP = require('../../utils/NOOP');
var StaggeredTileToWorldY = require('./StaggeredTileT... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/StaggeredWorldToTileY.js | src/tilemaps/components/StaggeredWorldToTileY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Converts from world Y coordinates (pixels) to staggered tile Y coordinates (tile units), factoring in the
* layers position, scale and s... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/IsometricCullTiles.js | src/tilemaps/components/IsometricCullTiles.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CheckIsoBounds = require('./CheckIsoBounds');
/**
* Returns the tiles in the given layer that are within the cameras viewport. This is use... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetCollisionFromCollisionGroup.js | src/tilemaps/components/SetCollisionFromCollisionGroup.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var SetTileCollision = require('./SetTileCollision');
var CalculateFacesWithin = require('./CalculateFacesWithin');
/**
* Sets collision on th... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetCollisionBetween.js | src/tilemaps/components/SetCollisionBetween.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var SetTileCollision = require('./SetTileCollision');
var CalculateFacesWithin = require('./CalculateFacesWithin');
var SetLayerCollisionIndex =... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/HexagonalCullBounds.js | src/tilemaps/components/HexagonalCullBounds.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var SnapCeil = require('../../math/snap/SnapCeil');
var SnapFloor = require('../../math/snap/SnapFloor');
/**
* Returns the bounds in the give... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/ReplaceByIndex.js | src/tilemaps/components/ReplaceByIndex.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
/**
* Scans the given rectangular area (given in tile coordinates) for tiles with an index m... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/RemoveTileAtWorldXY.js | src/tilemaps/components/RemoveTileAtWorldXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var RemoveTileAt = require('./RemoveTileAt');
var Vector2 = require('../../math/Vector2');
var point = new Vector2();
/**
* Removes the tile ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetLayerCollisionIndex.js | src/tilemaps/components/SetLayerCollisionIndex.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Internally used method to keep track of the tile indexes that collide within a layer. This
* updates LayerData.collideIndexes to either ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/HasTileAtWorldXY.js | src/tilemaps/components/HasTileAtWorldXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var HasTileAt = require('./HasTileAt');
var Vector2 = require('../../math/Vector2');
var point = new Vector2();
/**
* Checks if there is a ti... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/HexagonalGetTileCorners.js | src/tilemaps/components/HexagonalGetTileCorners.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var HexagonalTileToWorldXY = require('./HexagonalTileToWorldXY');
var Vector2 = require('../../math/Vector2');
var tempVec = new Vector2();
/*... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/RunCull.js | src/tilemaps/components/RunCull.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Returns the tiles in the given layer that are within the cameras viewport. This is used internally.
*
* @function Phaser.Tilemaps.Compo... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/HexagonalCullTiles.js | src/tilemaps/components/HexagonalCullTiles.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CullBounds = require('./HexagonalCullBounds');
var RunCull = require('./RunCull');
/**
* Returns the tiles in the given layer that are wit... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/CreateFromTiles.js | src/tilemaps/components/CreateFromTiles.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var DeepCopy = require('../../utils/object/DeepCopy');
var GetTilesWithin = require('./GetTilesWithin');
var ReplaceByIndex = require('./Replace... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/index.js | src/tilemaps/components/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.Tilemaps.Components
*/
module.exports = {
CalculateFacesAt: require('./CalculateFacesAt'),
CalculateFacesWit... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetWorldToTileXYFunction.js | src/tilemaps/components/GetWorldToTileXYFunction.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/ORIENTATION_CONST');
var HexagonalWorldToTileXY = require('./HexagonalWorldToTileXY');
var IsometricWorldToTileXY ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTileCorners.js | src/tilemaps/components/GetTileCorners.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Vector2 = require('../../math/Vector2');
/**
* Gets the corners of the Tile as an array of Vector2s.
*
* @function Phaser.Tilemaps.Compo... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetTileCollision.js | src/tilemaps/components/SetTileCollision.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Internally used method to set the colliding state of a tile. This does not recalculate
* interesting faces.
*
* @function Phaser.Tilem... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/FindByIndex.js | src/tilemaps/components/FindByIndex.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Searches the entire map layer for the first tile matching the given index, then returns that Tile
* object. If no match is found, it ret... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/PutTileAtWorldXY.js | src/tilemaps/components/PutTileAtWorldXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var PutTileAt = require('./PutTileAt');
var Vector2 = require('../../math/Vector2');
var point = new Vector2();
/**
* Puts a tile at the give... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTileToWorldXFunction.js | src/tilemaps/components/GetTileToWorldXFunction.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/ORIENTATION_CONST');
var NOOP = require('../../utils/NOOP');
var TileToWorldX = require('./TileToWorldX');
/**
*... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetCollisionByExclusion.js | src/tilemaps/components/SetCollisionByExclusion.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var SetTileCollision = require('./SetTileCollision');
var CalculateFacesWithin = require('./CalculateFacesWithin');
var SetLayerCollisionIndex =... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/WorldToTileXY.js | src/tilemaps/components/WorldToTileXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Vector2 = require('../../math/Vector2');
/**
* Converts from world XY coordinates (pixels) to tile XY coordinates (tile units), factoring ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/TileToWorldX.js | src/tilemaps/components/TileToWorldX.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Converts from tile X coordinates (tile units) to world X coordinates (pixels), factoring in the
* layer's position, scale and scroll.
*... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/ForEachTile.js | src/tilemaps/components/ForEachTile.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
/**
* @callback EachTileCallback
*
* @param {Phaser.Tilemaps.Tile} value - The Tile.
* @p... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/Copy.js | src/tilemaps/components/Copy.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CalculateFacesWithin = require('./CalculateFacesWithin');
var GetTilesWithin = require('./GetTilesWithin');
var IsInLayerBounds = require('.... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SwapByIndex.js | src/tilemaps/components/SwapByIndex.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
/**
* Scans the given rectangular area (given in tile coordinates) for tiles with an index m... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTilesWithinWorldXY.js | src/tilemaps/components/GetTilesWithinWorldXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
var Vector2 = require('../../math/Vector2');
var pointStart = new Vector2();
var pointEnd = n... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/IsometricTileToWorldXY.js | src/tilemaps/components/IsometricTileToWorldXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Vector2 = require('../../math/Vector2');
/**
* Converts from isometric tile XY coordinates (tile units) to world XY coordinates (pixels), ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/StaggeredCullTiles.js | src/tilemaps/components/StaggeredCullTiles.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CullBounds = require('./StaggeredCullBounds');
var RunCull = require('./RunCull');
/**
* Returns the tiles in the given layer that are wit... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/CalculateFacesAt.js | src/tilemaps/components/CalculateFacesAt.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTileAt = require('./GetTileAt');
/**
* Calculates interesting faces at the given tile coordinates of the specified layer. Interesting
... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTilesWithinShape.js | src/tilemaps/components/GetTilesWithinShape.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Geom = require('../../geom/');
var GetTilesWithin = require('./GetTilesWithin');
var Intersects = require('../../geom/intersects/');
var NOO... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetTileIndexCallback.js | src/tilemaps/components/SetTileIndexCallback.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Sets a global collision callback for the given tile index within the layer. This will affect all
* tiles on this layer that have the sam... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/WeightedRandomize.js | src/tilemaps/components/WeightedRandomize.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
var MATH = require('../../math');
/**
* Randomizes the indexes of a rectangular region of ti... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/RemoveTileAt.js | src/tilemaps/components/RemoveTileAt.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Tile = require('../Tile');
var IsInLayerBounds = require('./IsInLayerBounds');
var CalculateFacesAt = require('./CalculateFacesAt');
/**
*... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/CullTiles.js | src/tilemaps/components/CullTiles.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CullBounds = require('./CullBounds');
var RunCull = require('./RunCull');
/**
* Returns the tiles in the given layer that are within the c... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTileAt.js | src/tilemaps/components/GetTileAt.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var IsInLayerBounds = require('./IsInLayerBounds');
/**
* Gets a tile at the given tile coordinates from the given layer.
*
* @function Phas... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetWorldToTileXFunction.js | src/tilemaps/components/GetWorldToTileXFunction.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/ORIENTATION_CONST');
var NULL = require('../../utils/NULL');
var WorldToTileX = require('./WorldToTileX');
/**
*... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTileAtWorldXY.js | src/tilemaps/components/GetTileAtWorldXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTileAt = require('./GetTileAt');
var Vector2 = require('../../math/Vector2');
var point = new Vector2();
/**
* Gets a tile at the give... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetCollisionByProperty.js | src/tilemaps/components/SetCollisionByProperty.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var SetTileCollision = require('./SetTileCollision');
var CalculateFacesWithin = require('./CalculateFacesWithin');
var HasValue = require('../.... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/Shuffle.js | src/tilemaps/components/Shuffle.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
var ShuffleArray = require('../../utils/array/Shuffle');
/**
* Shuffles the tiles in a recta... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTileToWorldXYFunction.js | src/tilemaps/components/GetTileToWorldXYFunction.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/ORIENTATION_CONST');
var HexagonalTileToWorldXY = require('./HexagonalTileToWorldXY');
var IsometricTileToWorldXY ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/SetCollision.js | src/tilemaps/components/SetCollision.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var SetTileCollision = require('./SetTileCollision');
var CalculateFacesWithin = require('./CalculateFacesWithin');
var SetLayerCollisionIndex =... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/FilterTiles.js | src/tilemaps/components/FilterTiles.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
/**
* For each tile in the given rectangular area (in tile coordinates) of the layer, run th... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/IsometricWorldToTileXY.js | src/tilemaps/components/IsometricWorldToTileXY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Vector2 = require('../../math/Vector2');
/**
* Converts from world XY coordinates (pixels) to isometric tile XY coordinates (tile units), ... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/PutTilesAt.js | src/tilemaps/components/PutTilesAt.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var CalculateFacesWithin = require('./CalculateFacesWithin');
var PutTileAt = require('./PutTileAt');
/**
* Puts an array of tiles or a 2D arr... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/PutTileAt.js | src/tilemaps/components/PutTileAt.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var Tile = require('../Tile');
var IsInLayerBounds = require('./IsInLayerBounds');
var CalculateFacesAt = require('./CalculateFacesAt');
var Set... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/TileToWorldY.js | src/tilemaps/components/TileToWorldY.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Converts from tile Y coordinates (tile units) to world Y coordinates (pixels), factoring in the
* layer's position, scale and scroll.
*... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/FindTile.js | src/tilemaps/components/FindTile.js | /**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetTilesWithin = require('./GetTilesWithin');
/**
* @callback FindTileCallback
*
* @param {Phaser.Tilemaps.Tile} value - The Tile.
* @p... | javascript | MIT | a9965625f49cf366584f454556b039e06e8adad6 | 2026-01-04T14:59:32.525416Z | false |
phaserjs/phaser | https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/tilemaps/components/GetTilesWithin.js | src/tilemaps/components/GetTilesWithin.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');
/**
* Gets the tiles in the given rectangular area (in tile coordinates) of the... | 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.