Skip to content

Commit 7c9f731

Browse files
committed
3.10.1 Release
1 parent 0329b8d commit 7c9f731

6 files changed

Lines changed: 171 additions & 156 deletions

File tree

dist/phaser-arcade-physics.js

Lines changed: 56 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -4253,7 +4253,7 @@ var CONST = {
42534253
* @type {string}
42544254
* @since 3.0.0
42554255
*/
4256-
VERSION: '3.10.0',
4256+
VERSION: '3.10.1',
42574257

42584258
BlendModes: __webpack_require__(51),
42594259

@@ -46560,6 +46560,11 @@ var InputManager = new Class({
4656046560
*/
4656146561
this.pointersTotal = config.inputActivePointers;
4656246562

46563+
if (config.inputTouch && this.pointersTotal === 1)
46564+
{
46565+
this.pointersTotal = 2;
46566+
}
46567+
4656346568
for (var i = 0; i <= this.pointersTotal; i++)
4656446569
{
4656546570
this.pointers.push(new Pointer(this, i));
@@ -113673,16 +113678,16 @@ module.exports = Origin;
113673113678
/**
113674113679
* Provides methods used for getting and setting the transform values of a Game Object.
113675113680
* Should be applied as a mixin and not used directly.
113676-
*
113681+
*
113677113682
* @name Phaser.GameObjects.Components.MatrixStack
113678113683
* @since 3.2.0
113679113684
*/
113680113685

113681113686
var MatrixStack = {
113682113687

113683113688
/**
113684-
* [description]
113685-
*
113689+
* The matrix stack.
113690+
*
113686113691
* @name Phaser.GameObjects.Components.MatrixStack#matrixStack
113687113692
* @type {Float32Array}
113688113693
* @private
@@ -113691,8 +113696,8 @@ var MatrixStack = {
113691113696
matrixStack: null,
113692113697

113693113698
/**
113694-
* [description]
113695-
*
113699+
* The current matrix.
113700+
*
113696113701
* @name Phaser.GameObjects.Components.MatrixStack#currentMatrix
113697113702
* @type {Float32Array}
113698113703
* @private
@@ -113701,8 +113706,8 @@ var MatrixStack = {
113701113706
currentMatrix: null,
113702113707

113703113708
/**
113704-
* [description]
113705-
*
113709+
* The current index of the top of the matrix stack.
113710+
*
113706113711
* @name Phaser.GameObjects.Components.MatrixStack#currentMatrixIndex
113707113712
* @type {integer}
113708113713
* @private
@@ -113711,8 +113716,8 @@ var MatrixStack = {
113711113716
currentMatrixIndex: 0,
113712113717

113713113718
/**
113714-
* [description]
113715-
*
113719+
* Initialize the matrix stack.
113720+
*
113716113721
* @method Phaser.GameObjects.Components.MatrixStack#initMatrixStack
113717113722
* @since 3.2.0
113718113723
*
@@ -113728,11 +113733,11 @@ var MatrixStack = {
113728113733
},
113729113734

113730113735
/**
113731-
* [description]
113732-
*
113736+
* Push the current matrix onto the matrix stack.
113737+
*
113733113738
* @method Phaser.GameObjects.Components.MatrixStack#save
113734113739
* @since 3.2.0
113735-
*
113740+
*
113736113741
* @return {this} This Game Object instance.
113737113742
*/
113738113743
save: function ()
@@ -113750,16 +113755,16 @@ var MatrixStack = {
113750113755
matrixStack[currentMatrixIndex + 3] = currentMatrix[3];
113751113756
matrixStack[currentMatrixIndex + 4] = currentMatrix[4];
113752113757
matrixStack[currentMatrixIndex + 5] = currentMatrix[5];
113753-
113758+
113754113759
return this;
113755113760
},
113756113761

113757113762
/**
113758-
* [description]
113759-
*
113763+
* Pop the top of the matrix stack into the current matrix.
113764+
*
113760113765
* @method Phaser.GameObjects.Components.MatrixStack#restore
113761113766
* @since 3.2.0
113762-
*
113767+
*
113763113768
* @return {this} This Game Object instance.
113764113769
*/
113765113770
restore: function ()
@@ -113783,11 +113788,11 @@ var MatrixStack = {
113783113788
},
113784113789

113785113790
/**
113786-
* [description]
113787-
*
113791+
* Resets the current matrix to the identity matrix.
113792+
*
113788113793
* @method Phaser.GameObjects.Components.MatrixStack#loadIdentity
113789113794
* @since 3.2.0
113790-
*
113795+
*
113791113796
* @return {this} This Game Object instance.
113792113797
*/
113793113798
loadIdentity: function ()
@@ -113798,18 +113803,18 @@ var MatrixStack = {
113798113803
},
113799113804

113800113805
/**
113801-
* [description]
113802-
*
113806+
* Transform the current matrix.
113807+
*
113803113808
* @method Phaser.GameObjects.Components.MatrixStack#transform
113804113809
* @since 3.2.0
113805113810
*
113806-
* @param {number} a - [description]
113807-
* @param {number} b - [description]
113808-
* @param {number} c - [description]
113809-
* @param {number} d - [description]
113810-
* @param {number} tx - [description]
113811-
* @param {number} ty - [description]
113812-
*
113811+
* @param {number} a - The Scale X value.
113812+
* @param {number} b - The Shear Y value.
113813+
* @param {number} c - The Shear X value.
113814+
* @param {number} d - The Scale Y value.
113815+
* @param {number} tx - The Translate X value.
113816+
* @param {number} ty - The Translate Y value.
113817+
*
113813113818
* @return {this} This Game Object instance.
113814113819
*/
113815113820
transform: function (a, b, c, d, tx, ty)
@@ -113833,18 +113838,18 @@ var MatrixStack = {
113833113838
},
113834113839

113835113840
/**
113836-
* [description]
113837-
*
113841+
* Set a transform matrix as the current matrix.
113842+
*
113838113843
* @method Phaser.GameObjects.Components.MatrixStack#setTransform
113839113844
* @since 3.2.0
113840113845
*
113841-
* @param {number} a - [description]
113842-
* @param {number} b - [description]
113843-
* @param {number} c - [description]
113844-
* @param {number} d - [description]
113845-
* @param {number} tx - [description]
113846-
* @param {number} ty - [description]
113847-
*
113846+
* @param {number} a - The Scale X value.
113847+
* @param {number} b - The Shear Y value.
113848+
* @param {number} c - The Shear X value.
113849+
* @param {number} d - The Scale Y value.
113850+
* @param {number} tx - The Translate X value.
113851+
* @param {number} ty - The Translate Y value.
113852+
*
113848113853
* @return {this} This Game Object instance.
113849113854
*/
113850113855
setTransform: function (a, b, c, d, tx, ty)
@@ -113862,14 +113867,14 @@ var MatrixStack = {
113862113867
},
113863113868

113864113869
/**
113865-
* [description]
113866-
*
113870+
* Translate the current matrix.
113871+
*
113867113872
* @method Phaser.GameObjects.Components.MatrixStack#translate
113868113873
* @since 3.2.0
113869113874
*
113870-
* @param {number} x - [description]
113871-
* @param {number} y - [description]
113872-
*
113875+
* @param {number} x - The horizontal translation value.
113876+
* @param {number} y - The vertical translation value.
113877+
*
113873113878
* @return {this} This Game Object instance.
113874113879
*/
113875113880
translate: function (x, y)
@@ -113889,14 +113894,14 @@ var MatrixStack = {
113889113894
},
113890113895

113891113896
/**
113892-
* [description]
113893-
*
113897+
* Scale the current matrix.
113898+
*
113894113899
* @method Phaser.GameObjects.Components.MatrixStack#scale
113895113900
* @since 3.2.0
113896113901
*
113897-
* @param {number} x - [description]
113898-
* @param {number} y - [description]
113899-
*
113902+
* @param {number} x - The horizontal scale value.
113903+
* @param {number} y - The vertical scale value.
113904+
*
113900113905
* @return {this} This Game Object instance.
113901113906
*/
113902113907
scale: function (x, y)
@@ -113916,13 +113921,13 @@ var MatrixStack = {
113916113921
},
113917113922

113918113923
/**
113919-
* [description]
113920-
*
113924+
* Rotate the current matrix.
113925+
*
113921113926
* @method Phaser.GameObjects.Components.MatrixStack#rotate
113922113927
* @since 3.2.0
113923113928
*
113924113929
* @param {number} t - The angle of rotation, in radians.
113925-
*
113930+
*
113926113931
* @return {this} This Game Object instance.
113927113932
*/
113928113933
rotate: function (t)

dist/phaser-arcade-physics.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)