Commit graph

14935 commits

Author SHA1 Message Date
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
samme
36f08e75b8 Fix error for missing audio tag (already released) 2020-05-21 16:40:50 -07:00
Adam Moore
341bc9b9d8
update docs for pixelArt to be more specific
For pixel art, we want the aliasing, so anti-aliasing should be off, or false.
2020-05-20 17:25:50 -07:00
samme
ee284c6a42 Remove fullscreen promise, handle in onFullScreenChange() instead
Lets Safari start fullscreen (#5143)
2020-05-14 08:43:32 -07:00
samme
7ab57258fc Tiny optimization for BaseCamera#cull 2020-05-13 11:20:38 -07:00
samme
1ed0aaf8ba Fix position from scaled sprite 2020-05-11 10:38:48 -07:00
samme
fa2e76c18c Add missing config when passing children only 2020-05-11 10:24:01 -07:00
samme
6f3c0d2bb8 Don't discard config 2020-05-11 10:22:13 -07:00
samme
70b8bfe4b0 Add children after configuration
Ensures the create handler is called
2020-05-11 10:20:52 -07:00
samme
f374a4c045 Docs: Body descriptions
'boundary' is ambiguous, given the other bounds
2020-05-08 10:50:11 -07:00
samme
35672274bc Docs: Correct description in ArcadeWorldConfig 2020-05-08 10:46:08 -07:00
samme
00d645e438 Print texture key in warning for zero frames 2020-05-08 10:31:20 -07:00
samme
d89b09f181 Fix undefined key in error message 2020-05-06 18:07:23 -07:00
samme
928ac2c31c Docs for Phaser.Physics.Arcade.Body#facing 2020-05-06 10:26:27 -07:00
samme
ee957757bf Docs: correct type for Phaser.Loader.File#url 2020-05-06 08:53:47 -07:00
samme
b2eb6bfc43 Docs: Phaser.Physics.Arcade.World#useTree
Static bodies are always kept in an RTree
2020-05-05 15:32:49 -07:00
samme
62f0cf732a Always search the static tree 2020-05-05 10:47:21 -07:00
samme
d80e4f5824 Skip intersects check by argument 2020-05-04 22:06:24 -07:00
samme
992af0b15e Fast path for overlapOnly 2020-05-03 23:17:27 -07:00
samme
b7bc26d06f Correct types for GameObject#body? 2020-05-02 16:16:16 -07:00
samme
1f21a7d3be Fix url type check
Fixes #5125
2020-05-02 12:36:19 -07:00
samme
9965c81c66 Set states FILE_LOADING and FILE_LOADED 2020-05-02 10:01:38 -07:00
samme
db8db69575 Correct type for Phaser.Physics.Arcade.Body#drag
Fixes #5100
2020-04-29 11:18:56 -07:00
samme
f8376c83bb Fix wake() when running
Should not sleep
2020-04-29 09:39:22 -07:00
Fred K. Schott
d827f99cb9
Add browser entrypoint for tooling, bundlers, CDNs 2020-04-27 15:21:14 -07:00
Richard Davey
d6e8600766 Update README.md 2020-04-27 17:21:59 +01:00
Richard Davey
9dcbc8965b 3.23 Release 2020-04-27 16:42:33 +01:00
Richard Davey
08cdd09e1f 3.23 Release defs 2020-04-27 16:41:28 +01:00
Richard Davey
e08c649db0 Update README.md 2020-04-27 16:40:53 +01:00
Richard Davey
56474423df Use Events and remove dead code 2020-04-27 16:40:46 +01:00
Richard Davey
afe3d7ff7b Update InputPlugin.js 2020-04-27 16:40:33 +01:00
Richard Davey
6668a8d763 New Events and lint fixes 2020-04-27 16:36:23 +01:00
Richard Davey
b0c74f156d 3.23 TypeScript defs 2020-04-27 16:30:23 +01:00
Richard Davey
727d79e8c9 Update README.md 2020-04-27 16:29:46 +01:00
Richard Davey
1cf23329d9 Update CHANGELOG.md 2020-04-27 16:29:43 +01:00
Richard Davey
ca8f0be256 Added more docs 2020-04-27 16:21:34 +01:00
Richard Davey
33dfd5c519 Fixed method name 2020-04-27 16:21:27 +01:00
Richard Davey
96b1d4c783 Update LayerDataConfig.js 2020-04-27 16:16:50 +01:00
Richard Davey
ee0a04ec19 Fixed data type 2020-04-27 16:15:05 +01:00
Richard Davey
cef9aa2120 New Type Defs 2020-04-27 16:13:49 +01:00
Richard Davey
b035d190e9 Added JSDocs 2020-04-27 16:13:40 +01:00
Richard Davey
4d190470f3 Fixed Vector2Like types 2020-04-27 16:13:17 +01:00
Richard Davey
bded374ad1 Added release date 2020-04-27 15:42:09 +01:00
Richard Davey
6783a430de Dropped beta flag 2020-04-27 15:41:58 +01:00