Commit graph

14428 commits

Author SHA1 Message Date
Richard Davey
9a34fa9197
Merge pull request #5171 from samme/fix/input-noop
Fix NOOP import
2020-07-13 11:42:32 +01:00
Richard Davey
9bb3a4ba19
Merge pull request #5178 from samme/docs/misc-7
Docs
2020-07-13 11:41:28 +01:00
Richard Davey
3f13071368
Merge pull request #5214 from SirJosh3917/SirJosh3917-sys-add-container-jsdoc
Update ContainerFactory.js
2020-07-13 11:40:25 +01:00
Richard Davey
d00632232d
Merge pull request #5216 from SanderVanhove/master
Fix Path moveTo optional y param
2020-07-13 11:37:28 +01:00
Richard Davey
bc0c289550
Merge pull request #5218 from braindx/drag-transform-fix
Fix drag coordinates with camera zoom (issue #4755)
2020-07-13 11:36:29 +01:00
Richard Davey
06f7bf1484 Update all deps 2020-07-13 11:29:50 +01:00
Richard Davey
d4ff957f02 Preparing for v3.24.0 2020-07-13 11:25:27 +01:00
Jay Mattis
c5cfae0118 Fix drag coordinates with camera zoom (issue 4755)
The dragX and dragY passed to 'dragStart' and 'drag' events are supported to be in world coordinates (as specified by the docs) but the coordinates used (pointer.x and pointer.y) were not transformed by the camera into world space. The drags now use pointer.worldX and pointer.worldY which are the post-transform coordinates.
2020-07-12 21:13:33 -07:00
SanderVanhove
b4dcc9b17a Fix Path moveTo optional y param 2020-07-10 19:49:45 +00:00
danilo neves cruz
7302ad1041 StaticTilemapLayerWebGLRenderer: apply rotation and parent transform 2020-07-11 02:35:20 +07:00
SirJosh3917
f2e8a83691
Update ContainerFactory.js
Given that Container's constructor allows x and y to be optional, the JSDoc should match that.
2020-07-09 23:32:54 -04:00
samme
01ca4293e4 Fix missing _crop property
Fixes #5211
2020-07-08 12:04:23 -07:00
samme
807aeed20c Correct prev and prevFrame 2020-07-03 14:02:10 -07:00
samme
3c239abf78 Add Display.Bounds.GetBounds() 2020-07-03 11:17:21 -07:00
samme
a626ba2777 Add Math#RotateTo 2020-07-03 11:08:04 -07:00
samme
16e94d79eb separateCircle fixes 2020-06-27 09:24:23 -07:00
samme
af141f6bf0 Add KeyboardPlugin#removeAllKeys 2020-06-23 11:58:26 -07:00
Michael Hadley
8285bcf44f Fix spacing 2020-06-17 08:21:06 -05:00
Michael Hadley
a161aa58cc Update TextStyle to have jsdocs for: wordWrapWidth, wordWrapUseAdvanced, wordWrapCallbackScope, wordWrapCallback 2020-06-17 07:53:23 -05:00
scott.liu
ea3279bd32 format 2020-06-17 11:03:25 +08:00
scott.liu
2f98f463d2 format 2020-06-17 11:01:50 +08:00
scott.liu
7f4bbf9192 format 2020-06-17 10:59:25 +08:00
scott.liu
104a3b9e35 format 2020-06-17 10:56:17 +08:00
scott.liu
f607f1f521 #3673 fix nested mask behaviour for Phaser.CANVAS mode 2020-06-17 10:53:38 +08:00
samme
e210de92be Docs: correct TimerEventConfig.startAt default 2020-06-16 10:57:35 -07:00
MerganThePirate
d60c9a33d8
Fixed bug from issue #5191 2020-06-15 08:25:26 -07:00
samme
3368d1e54a Docs: punctuation 2020-06-06 12:15:38 -07:00
samme
3c62cb3eb5 Configure timeline without tweens 2020-06-06 11:44:40 -07:00
samme
51779a80aa Docs: tween onStop, etc. 2020-06-06 11:21:23 -07:00
samme
de4943a407 Add tween 'stop' event and 'onStop' callback 2020-06-06 11:21:23 -07:00
samme
fd3c682646 Add Arcade.Body#updateFromGameObject 2020-06-05 10:32:05 -07:00
samme
c963768c1e Docs: SetCollisionByExclusion() and friends
Fixes #5179

Thanks @BoltKey
2020-06-05 10:01:30 -07:00
Richard Davey
000beb2bd0 Update README.md
Updated sponsors list
2020-06-04 15:35:08 +01:00
Rex
84fd7eaa98 Fix bug about setting xRadius/yRadius by width/height
xRadius/yRadius is half of width/height
2020-06-02 14:00:52 +08:00
samme
dd7976699d Docs: grammar 2020-06-01 09:57:36 -07:00
samme
e091aecead Docs: Phaser.Tweens.Tween#callbacks
Tween#stop() does not invoke onComplete
2020-06-01 09:38:34 -07:00
samme
84d11e4772 Docs: add missing Phaser.GameObjects.Shape#geom 2020-05-31 15:07:12 -07:00
Michael Hadley
4e0176691a Fix return type in Text#getTextMetrics: object -> Phaser.Types.GameObjects.Text.TextMetric 2020-05-30 07:53:48 -05:00
Laurence
1238727256 Add info to the scene manager method headers where data is passed to (Scene.init and Scene.create) 2020-05-29 08:18:43 +01:00
samme
4722750f62 Fix NOOP import
Fixes #5170
2020-05-27 18:20:05 -07:00
samme
f1eb31c81a Add Phaser.GameObjects.Group#setActive 2020-05-25 10:58:26 -07:00
samme
6aeb609d55 Docs: whitespace 2020-05-25 10:58:10 -07:00
samme
5b9c34a32a Docs: Depth#depth and Depth#setDepth() 2020-05-25 09:20:42 -07:00
samme
9ffa3bd262 Remove spurious assignment 2020-05-24 22:25:21 -07:00
samme
634dfe4f29 Add Phaser.GameObjects.Group#setName 2020-05-24 22:17:55 -07:00
samme
50e93d2cee Fix error for headless renderer 2020-05-23 11:45:01 -07:00
samme
c0b6027160 Add Arcade Physics types 2020-05-23 10:09:41 -07:00
timo
a39199849e Allow chaining of multible animations
With this commit it is possible to chain more than one animation together for example:
this.mole.anims.play('digging',true).anims.chain('lifting').anims.chain('looking').anims.chain('lowering');

This commit introduces a property nextAnimsQueue. It holds all additional nextAnim-Keys in the order the chain()-method was called. It is handed over to the nextAnim-Property in the stop()-method.
2020-05-22 14:03:42 +02:00
timo
b00acb1838 Revert "Allow for chaining multible animations"
This reverts commit a5eacab048.
2020-05-22 13:45:21 +02:00
timo
a5eacab048 Allow for chaining multible animations
This allows for chaining multible animations by calling the chain(key) method multible times like this:
this.mole.anims.play('digging',true).anims.chain('lifting').anims.chain('looking').anims.chain('lowering');

This commit adds a new property nextAnimsQueue. This is an array that holds the chained keys in order of chain() requests.
This list will be worked on in the stop() function.
2020-05-22 13:30:37 +02:00