Updated version to 3.70

This commit is contained in:
Richard Davey 2023-11-10 15:04:01 +00:00
parent 79db5a5b28
commit 0b32610e56
30 changed files with 57 additions and 57 deletions

View file

@ -20,7 +20,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.61.0-beta.5',
VERSION: '3.70.0',
BlendModes: require('./renderer/BlendModes'),

View file

@ -12,7 +12,7 @@
*
* @event Phaser.Core.Events#SYSTEM_READY
* @type {string}
* @since 3.61.0
* @since 3.70.0
*
* @param {Phaser.Scenes.Systems} sys - A reference to the Scene Systems class of the Scene that emitted this event.
*/

View file

@ -60,7 +60,7 @@ var Path = new Class({
* @name Phaser.Curves.Path#defaultDivisions
* @type {number}
* @default 12
* @since 3.61.0
* @since 3.70.0
*/
this.defaultDivisions = 12;

View file

@ -182,7 +182,7 @@ var Circle = new Class({
*
* @name Phaser.FX.Circle#backgroundAlpha
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
backgroundAlpha: {

View file

@ -635,7 +635,7 @@ var Layer = new Class({
* You can also optionally call `destroy` on each Game Object that is removed from the Layer.
*
* @method Phaser.GameObjects.Layer#remove
* @since 3.61.0
* @since 3.70.0
*
* @generic {Phaser.GameObjects.GameObject} T
* @genericUse {(T|T[])} - [child]

View file

@ -1740,7 +1740,7 @@ var ParticleEmitter = new Class({
* Clear all Death Zones from this Particle Emitter.
*
* @method Phaser.GameObjects.Particles.ParticleEmitter#clearDeathZones
* @since 3.61.0
* @since 3.70.0
*
* @return {this} This Particle Emitter.
*/
@ -1850,7 +1850,7 @@ var ParticleEmitter = new Class({
* Clear all Emission Zones from this Particle Emitter.
*
* @method Phaser.GameObjects.Particles.ParticleEmitter#clearEmitZones
* @since 3.61.0
* @since 3.70.0
*
* @return {this} This Particle Emitter.
*/

View file

@ -136,14 +136,14 @@ var Plane = new Class({
this.setViewHeight();
},
/**
/**
* Do not change this value. It has no effect other than to break things.
*
* @name Phaser.GameObjects.Plane#originX
* @type {number}
* @readonly
* @override
* @since 3.61.0
* @since 3.70.0
*/
originX: {
@ -154,14 +154,14 @@ var Plane = new Class({
},
/**
/**
* Do not change this value. It has no effect other than to break things.
*
* @name Phaser.GameObjects.Plane#originY
* @type {number}
* @readonly
* @override
* @since 3.61.0
* @since 3.70.0
*/
originY: {

View file

@ -1070,7 +1070,7 @@ var Text = new Class({
* need to display large quantities of characters with fine control over the letter spacing.
*
* @method Phaser.GameObjects.Text#setLetterSpacing
* @since 3.61.0
* @since 3.70.0
*
* @param {number} value - The amount to add to the letter width. Set to zero to disable.
*
@ -1168,7 +1168,7 @@ var Text = new Class({
* Render text from right-to-left or left-to-right.
*
* @method Phaser.GameObjects.Text#setRTL
* @since 3.61.0
* @since 3.70.0
*
* @param {boolean} [rtl=true] - Set to `true` to render from right-to-left.
*

View file

@ -176,7 +176,7 @@ var Line = new Class({
* Sets this Line to match the x/y coordinates of the two given Vector2Like objects.
*
* @method Phaser.Geom.Line#setFromObjects
* @since 3.61.0
* @since 3.70.0
*
* @param {Phaser.Types.Math.Vector2Like} start - Any object with public `x` and `y` properties, whose values will be assigned to the x1/y1 components of this Line.
* @param {Phaser.Types.Math.Vector2Like} end - Any object with public `x` and `y` properties, whose values will be assigned to the x2/y2 components of this Line.

View file

@ -94,7 +94,7 @@ var ArcadePhysics = new Class({
* @name Phaser.Physics.Arcade.World#_category
* @private
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this._category = 0x0001;
@ -210,7 +210,7 @@ var ArcadePhysics = new Class({
* `Body.setCollidesWith()` methods to change this.
*
* @method Phaser.Physics.Arcade.ArcadePhysics#nextCategory
* @since 3.61.0
* @since 3.70.0
*
* @return {number} The next collision category.
*/

View file

@ -678,7 +678,7 @@ var Body = new Class({
*
* @name Phaser.Physics.Arcade.Body#slideFactor
* @type {Phaser.Math.Vector2}
* @since 3.61.0
* @since 3.70.0
* @see Phaser.GameObjects.Components.Pushable#setSlideFactor
*/
this.slideFactor = new Vector2(1, 1);
@ -843,7 +843,7 @@ var Body = new Class({
*
* @name Phaser.Physics.Arcade.Body#collisionCategory
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionCategory = 0x0001;
@ -854,7 +854,7 @@ var Body = new Class({
*
* @name Phaser.Physics.Arcade.Body#collisionMask
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionMask = 1;
@ -942,7 +942,7 @@ var Body = new Class({
*
* @name Phaser.Physics.Arcade.Body#directControl
* @type {boolean}
* @since 3.61.0
* @since 3.70.0
*/
this.directControl = false;
@ -952,7 +952,7 @@ var Body = new Class({
* @name Phaser.Physics.Arcade.Body#autoFrame
* @type {Phaser.Math.Vector2}
* @private
* @since 3.61.0
* @since 3.70.0
*/
this.autoFrame = this.position.clone();
},
@ -1927,7 +1927,7 @@ var Body = new Class({
* bodies, something that isn't possible if you're just changing its position directly.
*
* @method Phaser.Physics.Arcade.Body#setDirectControl
* @since 3.61.0
* @since 3.70.0
*
* @param {boolean} [value=true] - `true` if the Body calculate velocity based on changes in position, otherwise `false`.
*
@ -2133,7 +2133,7 @@ var Body = new Class({
* can combine this with the `setDrag()` method to create deceleration.
*
* @method Phaser.Physics.Arcade.Body#setSlideFactor
* @since 3.61.0
* @since 3.70.0
*
* @param {number} x - The horizontal slide factor. A value between 0 and 1.
* @param {number} [y=x] - The vertical slide factor. A value between 0 and 1.

View file

@ -9,7 +9,7 @@
* categories will collide with each other or not.
*
* @function Phaser.Physics.Arcade.GetCollidesWith
* @since 3.61.0
* @since 3.70.0
*
* @param {(number|number[])} categories - A unique category bitfield, or an array of them.
*

View file

@ -138,7 +138,7 @@ var PhysicsGroup = new Class({
*
* @name Phaser.Physics.Arcade.Group#collisionCategory
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionCategory = 0x0001;
@ -149,7 +149,7 @@ var PhysicsGroup = new Class({
*
* @name Phaser.Physics.Arcade.Group#collisionMask
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionMask = 1;

View file

@ -10,7 +10,7 @@
* Mostly only used internally.
*
* @function Phaser.Physics.Arcade.SetCollisionObject
* @since 3.61.0
* @since 3.70.0
*
* @param {boolean} noneFlip - Is `none` true or false?
* @param {Phaser.Types.Physics.Arcade.ArcadeBodyCollision} [data] - The collision data object to populate, or create if not given.

View file

@ -465,7 +465,7 @@ var StaticBody = new Class({
*
* @name Phaser.Physics.Arcade.StaticBody#collisionCategory
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionCategory = 0x0001;
@ -476,7 +476,7 @@ var StaticBody = new Class({
*
* @name Phaser.Physics.Arcade.StaticBody#collisionMask
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionMask = 1;

View file

@ -116,7 +116,7 @@ var StaticPhysicsGroup = new Class({
*
* @name Phaser.Physics.Arcade.StaticGroup#collisionCategory
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionCategory = 0x0001;
@ -127,7 +127,7 @@ var StaticPhysicsGroup = new Class({
*
* @name Phaser.Physics.Arcade.StaticGroup#collisionMask
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionMask = 1;

View file

@ -1065,7 +1065,7 @@ var World = new Class({
*
* @method Phaser.Physics.Arcade.World#singleStep
* @fires Phaser.Physics.Arcade.Events#WORLD_STEP
* @since 3.61.0
* @since 3.70.0
*/
singleStep: function ()
{
@ -1996,7 +1996,7 @@ var World = new Class({
* based on their collision mask and collision categories.
*
* @method Phaser.Physics.Arcade.World#canCollide
* @since 3.61.0
* @since 3.70.0
*
* @param {Phaser.Types.Physics.Arcade.ArcadeCollider} body1 - The first body to check.
* @param {Phaser.Types.Physics.Arcade.ArcadeCollider} body2 - The second body to check.

View file

@ -10,7 +10,7 @@ var GetCollidesWith = require('../GetCollidesWith');
* Provides methods used for setting the collision category and mask of an Arcade Physics Body.
*
* @namespace Phaser.Physics.Arcade.Components.Collision
* @since 3.61.0
* @since 3.70.0
*/
var Collision = {
@ -24,7 +24,7 @@ var Collision = {
* the `resetCollisionCategory` method.
*
* @method Phaser.Physics.Arcade.Components.Collision#setCollisionCategory
* @since 3.61.0
* @since 3.70.0
*
* @param {number} category - The collision category.
*
@ -44,7 +44,7 @@ var Collision = {
* this Arcade Physics object or not.
*
* @method Phaser.Physics.Arcade.Components.Collision#willCollideWith
* @since 3.61.0
* @since 3.70.0
*
* @param {number} category - Collision category value to test.
*
@ -62,7 +62,7 @@ var Collision = {
* Arcade Physics Body will collide with.
*
* @method Phaser.Physics.Arcade.Components.Collision#addCollidesWith
* @since 3.61.0
* @since 3.70.0
*
* @param {number} category - The collision category to add.
*
@ -82,7 +82,7 @@ var Collision = {
* Arcade Physics Body will collide with.
*
* @method Phaser.Physics.Arcade.Components.Collision#removeCollidesWith
* @since 3.61.0
* @since 3.70.0
*
* @param {number} category - The collision category to add.
*
@ -112,7 +112,7 @@ var Collision = {
* the `resetCollisionCategory` method.
*
* @method Phaser.Physics.Arcade.Components.Collision#setCollidesWith
* @since 3.61.0
* @since 3.70.0
*
* @param {(number|number[])} categories - The collision category to collide with, or an array of them.
*
@ -132,7 +132,7 @@ var Collision = {
* which is to collide with everything.
*
* @method Phaser.Physics.Arcade.Components.Collision#resetCollisionCategory
* @since 3.61.0
* @since 3.70.0
*
* @return {this} This Game Object.
*/

View file

@ -21,7 +21,7 @@ var Enable = {
* bodies, something that isn't possible if you're just changing its position directly.
*
* @method Phaser.Physics.Arcade.Components.Enable#setDirectControl
* @since 3.61.0
* @since 3.70.0
*
* @param {boolean} [value=true] - `true` if the Body calculate velocity based on changes in position, otherwise `false`.
*

View file

@ -2,5 +2,5 @@
* 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.61.0
* @since 3.70.0
*/

View file

@ -256,7 +256,7 @@ var RenderTarget = new Class({
* width and height values.
*
* @method Phaser.Renderer.WebGL.RenderTarget#willResize
* @since 3.61.0
* @since 3.70.0
*
* @param {number} width - The new width of this Render Target.
* @param {number} height - The new height of this Render Target.

View file

@ -239,7 +239,7 @@ var PostFXPipeline = new Class({
* actual Game Object needs to use them.
*
* @method Phaser.Renderer.WebGL.Pipelines.PostFXPipeline#bootFX
* @since 3.61.0
* @since 3.70.0
*/
bootFX: function ()
{
@ -277,7 +277,7 @@ var PostFXPipeline = new Class({
* It is also called as part of the `PipelineManager.postBatch` method when processing Post FX Pipelines.
*
* @method Phaser.Renderer.WebGL.Pipelines.PostFXPipeline#postBatch
* @since 3.61.0
* @since 3.70.0
*
* @param {(Phaser.GameObjects.GameObject|Phaser.Cameras.Scene2D.Camera)} [gameObject] - The Game Object or Camera that invoked this pipeline, if any.
*

View file

@ -75,7 +75,7 @@ var Map = new Class({
* If the element already exists, the value will be skipped.
*
* @method Phaser.Structs.Map#setAll
* @since 3.61.0
* @since 3.70.0
*
* @generic K
* @generic V

View file

@ -318,7 +318,7 @@ var DynamicTexture = new Class({
* or if you change its size.
*
* @method Phaser.Textures.DynamicTexture#setFromRenderTarget
* @since 3.61.0
* @since 3.70.0
*
* @return {this} This Dynamic Texture instance.
*/

View file

@ -467,7 +467,7 @@ var Frame = new Class({
* This is set automatically by the JSONArray and JSONHash parsers.
*
* @method Phaser.Textures.Frame#setScale9
* @since 3.61.0
* @since 3.70.0
*
* @param {number} x - The left coordinate of the center scale9 rectangle.
* @param {number} y - The top coordinate of the center scale9 rectangle.
@ -875,7 +875,7 @@ var Frame = new Class({
* @name Phaser.Textures.Frame#scale9
* @type {boolean}
* @readonly
* @since 3.61.0
* @since 3.70.0
*/
scale9: {
@ -892,7 +892,7 @@ var Frame = new Class({
* @name Phaser.Textures.Frame#is3Slice
* @type {boolean}
* @readonly
* @since 3.61.0
* @since 3.70.0
*/
is3Slice: {

View file

@ -311,7 +311,7 @@ var Tile = new Class({
* @name Phaser.Tilemaps.Tile#tintFill
* @type {boolean}
* @default
* @since 3.61.0
* @since 3.70.0
*/
this.tintFill = false;

View file

@ -270,7 +270,7 @@ var TilemapLayer = new Class({
*
* @name Phaser.Tilemaps.TilemapLayer#collisionCategory
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionCategory = 0x0001;
@ -283,7 +283,7 @@ var TilemapLayer = new Class({
*
* @name Phaser.Tilemaps.TilemapLayer#collisionMask
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.collisionMask = 1;
@ -702,7 +702,7 @@ var TilemapLayer = new Class({
*
* @method Phaser.Tilemaps.TilemapLayer#setTintFill
* @webglOnly
* @since 3.61.0
* @since 3.70.0
*
* @param {number} [tint=0xffffff] - The tint color being applied to each tile within the region. Given as a hex value, i.e. `0xff0000` for red. Set to white (`0xffffff`) to reset the tint.
* @param {number} [tileX] - The left most tile index (in tile coordinates) to use as the origin of the area to search.

View file

@ -45,7 +45,7 @@ var LayerData = new Class({
*
* @name Phaser.Tilemaps.LayerData#id
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.id = GetFastValue(config, 'id', 0);

View file

@ -45,7 +45,7 @@ var ObjectLayer = new Class({
*
* @name Phaser.Tilemaps.ObjectLayer#id
* @type {number}
* @since 3.61.0
* @since 3.70.0
*/
this.id = GetFastValue(config, 'id', 0);

View file

@ -19,7 +19,7 @@
*
* @event Phaser.Time.Events#COMPLETE
* @type {string}
* @since 3.61.0
* @since 3.70.0
*
* @param {Phaser.Time.Timeline} timeline - A reference to the Timeline that emitted the event.
*/