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/matter-js/lib/plugins/MatterWrap.js
src/physics/matter-js/lib/plugins/MatterWrap.js
var Matter = require('../../CustomMain'); /** * A coordinate wrapping plugin for matter.js. * See the readme for usage and examples. * @module MatterWrap */ var MatterWrap = { // plugin meta name: 'matter-wrap', // PLUGIN_NAME version: '0.1.4', // PLUGIN_VERSION for: 'matter-js@^0.19.0', silent: true, //...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/plugins/MatterCollisionEvents.js
src/physics/matter-js/lib/plugins/MatterCollisionEvents.js
/** * @author @dxu https://github.com/dxu/matter-collision-events * @author Richard Davey <rich@phaser.io> * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var MatterCollisionEvents = { name: 'matter-collision-events', version: '0.1.6', for: 'matter-js@^0.20.0', ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/plugins/MatterAttractors.js
src/physics/matter-js/lib/plugins/MatterAttractors.js
var Matter = require('../../CustomMain'); /** * An attractors plugin for matter.js. * See the readme for usage and examples. * @module MatterAttractors */ var MatterAttractors = { name: 'matter-attractors', version: '0.1.7', for: 'matter-js@^0.19.0', silent: true, // installs the plugin where ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/body/Body.js
src/physics/matter-js/lib/body/Body.js
/** * The `Matter.Body` module contains methods for creating and manipulating body models. * A `Matter.Body` is a rigid body that can be simulated by a `Matter.Engine`. * Factories for commonly used body configurations (such as rectangles, circles and other polygons) can be found in the module `Matter.Bodies`. * *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/body/Composite.js
src/physics/matter-js/lib/body/Composite.js
/** * The `Matter.Composite` module contains methods for creating and manipulating composite bodies. * A composite body is a collection of `Matter.Body`, `Matter.Constraint` and other `Matter.Composite`, therefore composites form a tree structure. * It is important to use the functions in this module to modify composit...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/body/World.js
src/physics/matter-js/lib/body/World.js
/** * This module has now been replaced by `Matter.Composite`. * * All usage should be migrated to the equivalent functions found on `Matter.Composite`. * For example `World.add(world, body)` now becomes `Composite.add(world, body)`. * * The property `world.gravity` has been moved to `engine.gravity`. * * For back-comp...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/render/Render.js
src/physics/matter-js/lib/render/Render.js
/** * The `Matter.Render` module is a simple HTML5 canvas based renderer for visualising instances of `Matter.Engine`. * It is intended for development and debugging purposes, but may also be suitable for simple games. * It includes a number of drawing options including wireframe, vector with support for sprites and vi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/core/Common.js
src/physics/matter-js/lib/core/Common.js
/** * The `Matter.Common` module contains utility functions that are common to all modules. * * @class Common */ var Common = {}; module.exports = Common; (function() { Common._baseDelta = 1000 / 60; Common._nextId = 0; Common._seed = 0; Common._nowStartTime = +(new Date()); Common._warnedOnce =...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/core/Matter.js
src/physics/matter-js/lib/core/Matter.js
/** * The `Matter` module is the top level namespace. It also includes a function for installing plugins on top of the library. * * @class Matter */ var Matter = {}; module.exports = Matter; var Plugin = require('./Plugin'); var Common = require('./Common'); (function() { /** * The library name. * @p...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/core/Events.js
src/physics/matter-js/lib/core/Events.js
/** * The `Matter.Events` module contains methods to fire and listen to events on other objects. * * See the included usage [examples](https://github.com/liabru/matter-js/tree/master/examples). * * @class Events */ var Events = {}; module.exports = Events; var Common = require('./Common'); (function() { /** ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/core/Engine.js
src/physics/matter-js/lib/core/Engine.js
/** * The `Matter.Engine` module contains methods for creating and manipulating engines. * An engine is a controller that manages updating the simulation of the world. * See `Matter.Runner` for an optional game loop utility. * * See the included usage [examples](https://github.com/liabru/matter-js/tree/master/examples)...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/core/Plugin.js
src/physics/matter-js/lib/core/Plugin.js
/** * The `Matter.Plugin` module contains functions for registering and installing plugins on modules. * * @class Plugin */ var Plugin = {}; module.exports = Plugin; var Common = require('./Common'); (function() { Plugin._registry = {}; /** * Registers a plugin object so it can be resolved later by n...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/core/Sleeping.js
src/physics/matter-js/lib/core/Sleeping.js
/** * The `Matter.Sleeping` module contains methods to manage the sleeping state of bodies. * * @class Sleeping */ var Sleeping = {}; module.exports = Sleeping; var Body = require('../body/Body'); var Events = require('./Events'); var Common = require('./Common'); (function() { Sleeping._motionWakeThreshold = ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/core/Runner.js
src/physics/matter-js/lib/core/Runner.js
/** * The `Matter.Runner` module is an optional utility which provides a game loop, * that handles continuously updating a `Matter.Engine` for you within a browser. * It is intended for development and debugging purposes, but may also be suitable for simple games. * If you are using your own game loop instead, then you...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/factory/Composites.js
src/physics/matter-js/lib/factory/Composites.js
/** * The `Matter.Composites` module contains factory methods for creating composite bodies * with commonly used configurations (such as stacks and chains). * * See the included usage [examples](https://github.com/liabru/matter-js/tree/master/examples). * * @class Composites */ var Composites = {}; module.exports = C...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/lib/factory/Bodies.js
src/physics/matter-js/lib/factory/Bodies.js
/** * The `Matter.Bodies` module contains factory methods for creating rigid body models * with commonly used body configurations (such as rectangles, circles and other polygons). * * See the included usage [examples](https://github.com/liabru/matter-js/tree/master/examples). * * @class Bodies */ // TODO: true circle ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterCollisionData.js
src/physics/matter-js/typedefs/MatterCollisionData.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterCollisionData * @since 3.22.0 * * @property {boolean} collided - Have the pair collided or not? * @property {MatterJS.BodyType} bodyA - A reference to the first body involved in the collision. * @property {MatterJS.BodyType} bodyB - A reference to the sec...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterDebugConfig.js
src/physics/matter-js/typedefs/MatterDebugConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterDebugConfig * @since 3.22.0 * * @property {boolean} [showAxes=false] - Render all of the body axes? * @property {boolean} [showAngleIndicator=false] - Render just a single body axis? * @property {number} [angleColor=0xe81153] - The color of t...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterBody.js
src/physics/matter-js/typedefs/MatterBody.js
/** * @typedef {(MatterJS.BodyType|Phaser.GameObjects.GameObject|Phaser.Physics.Matter.Image|Phaser.Physics.Matter.Sprite|Phaser.Physics.Matter.TileBody)} Phaser.Types.Physics.Matter.MatterBody * @since 3.22.0 */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterCollisionFilter.js
src/physics/matter-js/typedefs/MatterCollisionFilter.js
/** * An `Object` that specifies the collision filtering properties of this body. * * Collisions between two bodies will obey the following rules: * - If the two bodies have the same non-zero value of `collisionFilter.group`, * they will always collide if the value is positive, and they will never collide * i...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterConstraintConfig.js
src/physics/matter-js/typedefs/MatterConstraintConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterConstraintConfig * @since 3.22.0 * * @property {string} [label='Constraint'] - An arbitrary string-based name to help identify this constraint. * @property {MatterJS.BodyType} [bodyA] - The first possible `Body` that this constraint is attached to. * @pro...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterWalls.js
src/physics/matter-js/typedefs/MatterWalls.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterWalls * @since 3.0.0 * * @property {MatterJS.BodyType} [left=null] - The left wall for the Matter World. * @property {MatterJS.BodyType} [right=null] - The right wall for the Matter World. * @property {MatterJS.BodyType} [top=null] - The top wall for the M...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterCollisionPair.js
src/physics/matter-js/typedefs/MatterCollisionPair.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterCollisionPair * @since 3.22.0 * * @property {string} id - The unique auto-generated collision pair id. A combination of the body A and B IDs. * @property {MatterJS.BodyType} bodyA - A reference to the first body involved in the collision. * @property {Mat...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/index.js
src/physics/matter-js/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.Physics.Matter */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterRunnerConfig.js
src/physics/matter-js/typedefs/MatterRunnerConfig.js
/** * Configuration for the Matter Physics Runner. * * Set only one of `fps` and `delta`. * * `delta` is the size of the Runner's fixed time step (one physics update). * The "frame delta" is the time elapsed since the last game step. * Depending on the size of the frame delta, the Runner makes zero or more updat...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterChamferConfig.js
src/physics/matter-js/typedefs/MatterChamferConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterChamferConfig * @since 3.22.0 * * @property {(number|number[])} [radius=8] - A single number, or an array, to specify the radius for each vertex. * @property {number} [quality=-1] - The quality of the chamfering. -1 means 'auto'. * @property {number} [qua...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterBodyRenderConfig.js
src/physics/matter-js/typedefs/MatterBodyRenderConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterBodyRenderConfig * @since 3.22.0 * * @property {boolean} [visible=true] - Should this body be rendered by the Debug Renderer? * @property {number} [opacity=1] - The opacity of the body and all parts within it. * @property {number} [fillColor]...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterWorldConfig.js
src/physics/matter-js/typedefs/MatterWorldConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterWorldConfig * @since 3.0.0 * * @property {Phaser.Types.Math.Vector2Like} [gravity] - Sets {@link Phaser.Physics.Matter.World#gravity}. * @property {(object|boolean)} [setBounds] - Should the world have bounds enabled by default? * @property {number} [setBo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterBodyConfig.js
src/physics/matter-js/typedefs/MatterBodyConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterBodyConfig * @since 3.22.0 * * @property {string} [label='Body'] - An arbitrary string-based name to help identify this body. * @property {(string|Phaser.Types.Physics.Matter.MatterSetBodyConfig)} [shape=null] - Set this Game Object to create and use a new ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterConstraintRenderConfig.js
src/physics/matter-js/typedefs/MatterConstraintRenderConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterConstraintRenderConfig * @since 3.22.0 * * @property {boolean} [visible=true] - Should this constraint be rendered by the Debug Renderer? * @property {boolean} [anchors=true] - If this constraint has anchors, should they be rendered? Pin const...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterTileOptions.js
src/physics/matter-js/typedefs/MatterTileOptions.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterTileOptions * @since 3.0.0 * * @property {MatterJS.BodyType} [body=null] - An existing Matter body to be used instead of creating a new one. * @property {boolean} [isStatic=true] - Whether or not the newly created body should be made static. This defaults ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterBodyTileOptions.js
src/physics/matter-js/typedefs/MatterBodyTileOptions.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterBodyTileOptions * @since 3.0.0 * * @property {boolean} [isStatic=true] - Whether or not the newly created body should be made static. This defaults to true since typically tiles should not be moved. * @property {boolean} [addToWorld=true] - Whether or not ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/matter-js/typedefs/MatterSetBodyConfig.js
src/physics/matter-js/typedefs/MatterSetBodyConfig.js
/** * @typedef {object} Phaser.Types.Physics.Matter.MatterSetBodyConfig * @since 3.22.0 * * @property {string} [type='rectangle'] - The shape type. Either `rectangle`, `circle`, `trapezoid`, `polygon`, `fromVertices`, `fromVerts` or `fromPhysicsEditor`. * @property {number} [x] - The horizontal world...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/SeparateX.js
src/physics/arcade/SeparateX.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var GetOverlapX = require('./GetOverlapX'); var ProcessX = require('./ProcessX'); /** * Separates two overlapping bodies on the X-axis (horizo...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/StaticBody.js
src/physics/arcade/StaticBody.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var CircleContains = require('../../geom/circle/Contains'); var Class = require('../../utils/Class'); var CollisionComponent = require('./compon...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/StaticPhysicsGroup.js
src/physics/arcade/StaticPhysicsGroup.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var ArcadeSprite = require('./ArcadeSprite'); var Class = require('../../utils/Class'); var CollisionComponent = require('./components/Collision...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/ArcadeSprite.js
src/physics/arcade/ArcadeSprite.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('./components'); var Sprite = require('../../gameobjects/sprite/Sprite'); /*...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/GetCollidesWith.js
src/physics/arcade/GetCollidesWith.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Calculates and returns the bitmask needed to determine if the given * categories will collide with each other or not. * * @function Ph...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/PhysicsGroup.js
src/physics/arcade/PhysicsGroup.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var ArcadeSprite = require('./ArcadeSprite'); var Class = require('../../utils/Class'); var CollisionComponent = require('./components/Collision...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/index.js
src/physics/arcade/index.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var CONST = require('./const'); var Extend = require('../../utils/object/Extend'); /** * @namespace Phaser.Physics.Arcade */ var Arcade = { ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/GetOverlapY.js
src/physics/arcade/GetOverlapY.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'); /** * Calculates and returns the vertical overlap between two arcade physics bodies and sets their properties ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/ProcessY.js
src/physics/arcade/ProcessY.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var body1; var body2; var body1Pushable; var body2Pushable; var body1MassImpact; var body2MassImpact; var body1FullImpact; var body2FullImpact; ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/Body.js
src/physics/arcade/Body.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('./components/Collision'); var CONST = require('./const'); var Events...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/ArcadeImage.js
src/physics/arcade/ArcadeImage.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('./components'); var Image = require('../../gameobjects/image/Image'); /** ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/ProcessX.js
src/physics/arcade/ProcessX.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var body1; var body2; var body1Pushable; var body2Pushable; var body1MassImpact; var body2MassImpact; var body1FullImpact; var body2FullImpact; ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/SeparateY.js
src/physics/arcade/SeparateY.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var GetOverlapY = require('./GetOverlapY'); var ProcessY = require('./ProcessY'); /** * Separates two overlapping bodies on the Y-axis (vertic...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/Factory.js
src/physics/arcade/Factory.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var ArcadeImage = require('./ArcadeImage'); var ArcadeSprite = require('./ArcadeSprite'); var Body = require('./Body'); var Class = require('../...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/SetCollisionObject.js
src/physics/arcade/SetCollisionObject.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Either sets or creates the Arcade Body Collision object. * * Mostly only used internally. * * @function Phaser.Physics.Arcade.SetColl...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/Collider.js
src/physics/arcade/Collider.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 Arcade Physics Collider will automatically check for collision, or overlaps, ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/const.js
src/physics/arcade/const.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Arcade Physics consts. * * @ignore */ var CONST = { /** * Dynamic Body. * * @name Phaser.Physics.Arcade.DYNAMIC_B...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/GetOverlapX.js
src/physics/arcade/GetOverlapX.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'); /** * Calculates and returns the horizontal overlap between two arcade physics bodies and sets their propertie...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/ArcadePhysics.js
src/physics/arcade/ArcadePhysics.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 DegToRad = require('../../math/DegToRad'); var DistanceBetween = require('../../math/distance/Dist...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/World.js
src/physics/arcade/World.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var AngleBetweenPoints = require('../../math/angle/BetweenPoints'); var Body = require('./Body'); var Clamp = require('../../math/Clamp'); var C...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
true
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Acceleration.js
src/physics/arcade/components/Acceleration.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the acceleration properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Component...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/OverlapRect.js
src/physics/arcade/components/OverlapRect.js
/** * This method will search the given rectangular area and return an array of all physics bodies that * overlap with it. It can return either Dynamic, Static bodies or a mixture of both. * * A body only has to intersect with the search area to be considered, it doesn't have to be fully * contained within it. *...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/index.js
src/physics/arcade/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.Physics.Arcade.Components */ module.exports = { Acceleration: require('./Acceleration'), Angular: require('....
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Mass.js
src/physics/arcade/components/Mass.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the mass properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Components.Mass ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Pushable.js
src/physics/arcade/components/Pushable.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the pushable property of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Components.Push...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Friction.js
src/physics/arcade/components/Friction.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Methods for setting the friction of an Arcade Physics Body. * * In Arcade Physics, friction is a special case of motion transfer from a...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Enable.js
src/physics/arcade/components/Enable.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the enable properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Components.Enab...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Angular.js
src/physics/arcade/components/Angular.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the angular acceleration properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.C...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Gravity.js
src/physics/arcade/components/Gravity.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods for setting the gravity properties of an Arcade Physics Game Object. * Should be applied as a mixin and not used direct...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Immovable.js
src/physics/arcade/components/Immovable.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the immovable properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Components.I...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Collision.js
src/physics/arcade/components/Collision.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var GetCollidesWith = require('../GetCollidesWith'); /** * Provides methods used for setting the collision category and mask of an Arcade Phys...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/OverlapCirc.js
src/physics/arcade/components/OverlapCirc.js
var OverlapRect = require('./OverlapRect'); var Circle = require('../../../geom/circle/Circle'); var CircleToCircle = require('../../../geom/intersects/CircleToCircle'); var CircleToRectangle = require('../../../geom/intersects/CircleToRectangle'); /** * This method will search the given circular area and return an a...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Size.js
src/physics/arcade/components/Size.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods for setting the size of an Arcade Physics Game Object. * Should be applied as a mixin and not used directly. * * @nam...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Drag.js
src/physics/arcade/components/Drag.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the drag properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Components.Drag ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Velocity.js
src/physics/arcade/components/Velocity.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods for modifying the velocity of an Arcade Physics body. * * Should be applied as a mixin and not used directly. * * @n...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Bounce.js
src/physics/arcade/components/Bounce.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the bounce properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Components.Boun...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/components/Debug.js
src/physics/arcade/components/Debug.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for setting the debug properties of an Arcade Physics Body. * * @namespace Phaser.Physics.Arcade.Components.Debug...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/OVERLAP_EVENT.js
src/physics/arcade/events/OVERLAP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Overlap Event. * * This event is dispatched by an Arcade Physics World instance if two bodies overlap _and_ at...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/WORLD_STEP_EVENT.js
src/physics/arcade/events/WORLD_STEP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Step Event. * * This event is dispatched by an Arcade Physics World instance whenever a physics step is run. ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/COLLIDE_EVENT.js
src/physics/arcade/events/COLLIDE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Collide Event. * * This event is dispatched by an Arcade Physics World instance if two bodies collide _and_ at...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/PAUSE_EVENT.js
src/physics/arcade/events/PAUSE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Pause Event. * * This event is dispatched by an Arcade Physics World instance when it is paused. * * Listen ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/RESUME_EVENT.js
src/physics/arcade/events/RESUME_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Resume Event. * * This event is dispatched by an Arcade Physics World instance when it resumes from a paused s...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/index.js
src/physics/arcade/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.Physics.Arcade.Events */ module.exports = { COLLIDE: require('./COLLIDE_EVENT'), OVERLAP: require('./OVERLAP...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/WORLD_BOUNDS_EVENT.js
src/physics/arcade/events/WORLD_BOUNDS_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Bounds Event. * * This event is dispatched by an Arcade Physics World instance if a body makes contact with th...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/TILE_OVERLAP_EVENT.js
src/physics/arcade/events/TILE_OVERLAP_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics Tile Overlap Event. * * This event is dispatched by an Arcade Physics World instance if a body overlaps with a Tile ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/events/TILE_COLLIDE_EVENT.js
src/physics/arcade/events/TILE_COLLIDE_EVENT.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics Tile Collide Event. * * This event is dispatched by an Arcade Physics World instance if a body collides with a Tile ...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/TileIntersectsBody.js
src/physics/arcade/tilemap/TileIntersectsBody.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Checks for intersection between the given tile rectangle-like object and an Arcade Physics body. * * @function Phaser.Physics.Arcade.Ti...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/SeparateTile.js
src/physics/arcade/tilemap/SeparateTile.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var TileCheckX = require('./TileCheckX'); var TileCheckY = require('./TileCheckY'); var TileIntersectsBody = require('./TileIntersectsBody'); /...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/index.js
src/physics/arcade/tilemap/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.Physics.Arcade.Tilemap */ var Tilemap = { ProcessTileCallbacks: require('./ProcessTileCallbacks'), ProcessTi...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/TileCheckX.js
src/physics/arcade/tilemap/TileCheckX.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var ProcessTileSeparationX = require('./ProcessTileSeparationX'); /** * Check the body against the given tile on the X axis. * Used internall...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/ProcessTileSeparationY.js
src/physics/arcade/tilemap/ProcessTileSeparationY.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Internal function to process the separation of a physics body from a tile. * * @function Phaser.Physics.Arcade.Tilemap.ProcessTileSepar...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/ProcessTileCallbacks.js
src/physics/arcade/tilemap/ProcessTileCallbacks.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * A function to process the collision callbacks between a single tile and an Arcade Physics enabled Game Object. * * @function Phaser.Phy...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/TileCheckY.js
src/physics/arcade/tilemap/TileCheckY.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var ProcessTileSeparationY = require('./ProcessTileSeparationY'); /** * Check the body against the given tile on the Y axis. * Used internall...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/tilemap/ProcessTileSeparationX.js
src/physics/arcade/tilemap/ProcessTileSeparationX.js
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Internal function to process the separation of a physics body from a tile. * * @function Phaser.Physics.Arcade.Tilemap.ProcessTileSepar...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ArcadeBodyCollision.js
src/physics/arcade/typedefs/ArcadeBodyCollision.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.ArcadeBodyCollision * @since 3.0.0 * * @property {boolean} none - True if the Body is not colliding. * @property {boolean} up - True if the Body is colliding on its upper edge. * @property {boolean} down - True if the Body is colliding on its lower edge. * @pro...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ArcadeCollider.js
src/physics/arcade/typedefs/ArcadeCollider.js
/** * An Arcade Physics Collider Type. * * @typedef {(Phaser.Physics.Arcade.Sprite|Phaser.Physics.Arcade.Image|Phaser.Physics.Arcade.StaticGroup|Phaser.Physics.Arcade.Group|Phaser.Tilemaps.TilemapLayer)} Phaser.Types.Physics.Arcade.ArcadeCollider * @since 3.70.0 */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ImageWithDynamicBody.js
src/physics/arcade/typedefs/ImageWithDynamicBody.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.ImageWithDynamicBody * @extends Phaser.Physics.Arcade.Image * * @property {Phaser.Physics.Arcade.Body} body */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/SpriteWithDynamicBody.js
src/physics/arcade/typedefs/SpriteWithDynamicBody.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.SpriteWithDynamicBody * @extends Phaser.Physics.Arcade.Sprite * * @property {Phaser.Physics.Arcade.Body} body */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/index.js
src/physics/arcade/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.Physics.Arcade */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/SpriteWithStaticBody.js
src/physics/arcade/typedefs/SpriteWithStaticBody.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.SpriteWithStaticBody * @extends Phaser.Physics.Arcade.Sprite * * @property {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/CheckCollisionObject.js
src/physics/arcade/typedefs/CheckCollisionObject.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.CheckCollisionObject * @since 3.0.0 * * @property {boolean} up - Will bodies collide with the top side of the world bounds? * @property {boolean} down - Will bodies collide with the bottom side of the world bounds? * @property {boolean} left - Will bodies collid...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ArcadeColliderType.js
src/physics/arcade/typedefs/ArcadeColliderType.js
/** * An Arcade Physics Collider Type. * * @typedef {(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody|Phaser.GameObjects.GameObject|Phaser.GameObjects.Group|Phaser.Physics.Arcade.Sprite|Phaser.Physics.Arcade.Image|Phaser.Physics.Arcade.StaticGroup|Phaser.Physics.Arcade.Group|Phaser.Tilemaps.TilemapLayer|...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/ArcadeBodyBounds.js
src/physics/arcade/typedefs/ArcadeBodyBounds.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.ArcadeBodyBounds * @since 3.0.0 * * @property {number} x - The left edge. * @property {number} y - The upper edge. * @property {number} right - The right edge. * @property {number} bottom - The lower edge. */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/GameObjectWithDynamicBody.js
src/physics/arcade/typedefs/GameObjectWithDynamicBody.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.GameObjectWithDynamicBody * @extends Phaser.GameObjects.GameObject * * @property {Phaser.Physics.Arcade.Body} body */
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false
phaserjs/phaser
https://github.com/phaserjs/phaser/blob/a9965625f49cf366584f454556b039e06e8adad6/src/physics/arcade/typedefs/GameObjectWithStaticBody.js
src/physics/arcade/typedefs/GameObjectWithStaticBody.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.GameObjectWithStaticBody * @extends Phaser.GameObjects.GameObject * * @property {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/ImageWithStaticBody.js
src/physics/arcade/typedefs/ImageWithStaticBody.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.ImageWithStaticBody * @extends Phaser.Physics.Arcade.Image * * @property {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/ArcadeWorldTreeMinMax.js
src/physics/arcade/typedefs/ArcadeWorldTreeMinMax.js
/** * @typedef {object} Phaser.Types.Physics.Arcade.ArcadeWorldTreeMinMax * @since 3.0.0 * * @property {number} minX - The minimum x value used in RTree searches. * @property {number} minY - The minimum y value used in RTree searches. * @property {number} maxX - The maximum x value used in RTree searches. * @pro...
javascript
MIT
a9965625f49cf366584f454556b039e06e8adad6
2026-01-04T14:59:32.525416Z
false