Commit graph

17625 commits

Author SHA1 Message Date
Adam Templeton
1ead3ecd7d tween reset fix 2022-01-28 12:18:22 -06:00
Connor Nielsen
5823cd70df fix formatting in PolygonCanvasRenderer 2022-01-26 14:26:02 -08:00
Connor Nielsen
9119b776c8 check for closePath in PolygonCanvasRenderer 2022-01-26 14:06:33 -08:00
Andy Mikulski
6108414b75
WebGLSnapshot: Support custom rendering contexts 2022-01-26 15:02:59 -07:00
ksritharan
11c8216cb6
Fix to SafeRange to allow more valid ranges
The expression startIndex + endIndex > len is not needed.
The fix will allow the following ranges to be valid:
- n to Array.length, n = {1, 2, ..., Array.length-1}
- n to m, n = {1, 2, ..., Array.length - 1}, m = {n+1, ..., Array.length}
2022-01-24 13:17:24 -05:00
Richard Davey
368b37b916 Updated Spine webpack config to use Terser 2022-01-21 17:33:16 +00:00
Richard Davey
ed497bb700 New Spine Plugin dist files 2022-01-21 17:33:01 +00:00
Richard Davey
f3efd68363 Update README.md 2022-01-21 17:20:22 +00:00
Richard Davey
c7f95ba407 New Spine runtime update 2022-01-21 17:20:15 +00:00
Richard Davey
63e7cbc2bc Added required types 2022-01-21 17:19:55 +00:00
Vladislav Forsh
7a636379f5 Fix pointToContainer issue with output parameter
provided `output` parameter was ignored when the container didn't have a parent container (was attached directly to the scene)

(cherry picked from commit 0d97dcc1f844f528f2361bfd800dec4885c5edc1)
2022-01-06 13:07:16 +03:00
Phaser Editor 2D
61ef57a399
Tag as optional the Sprite.chain(key) argument.
The `chain()` method accepts no argument to reset the chain of animations.
2022-01-02 17:05:30 -05:00
Phaser Editor 2D
e0ec267efc
Tag as optional the anims.chain() argument.
The `chain()` method accepts no argument to reset the chain of animations.
2022-01-02 16:59:59 -05:00
Rex
38e0323b01 Add setTint() method 2021-12-24 11:47:09 +08:00
samme
f81a047029 Docs: correct type for TileSpriteConfig.frame
Fixes #5955
2021-12-23 13:35:04 -08:00
samme
3ab43f56f6 Revert "Skip intersects check by argument"
This reverts commit d80e4f5824.
2021-12-23 10:55:23 -08:00
David Schontzler
daa5e662e7 destroy game objects during shutdown safely #5520 2021-12-21 19:55:35 -08:00
Richard Davey
08bc828493 Removed duplicate docs line 2021-12-21 18:01:59 +00:00
Richard Davey
d51fa15cdf Made docs include mention of post fx. #5942 2021-12-21 17:41:52 +00:00
Richard Davey
8f428f79d5 Update CHANGELOG-v3.60.md 2021-12-21 17:16:22 +00:00
Richard Davey
063e8c78ef Including a render object within the Game Config will no longer erase any top-level config render settings. The render object will now take priority over the game config, but both will be used. Close #5935 2021-12-21 17:16:22 +00:00
Richard Davey
dcbfd7677e The GetValue function has a new optional parameter altSource which allows you to provide an alternative object to source the value from. 2021-12-21 17:16:22 +00:00
Richard Davey
a7e299d7cf
Merge pull request #5944 from antkhnvsk/patch-1
Remove `path` from package.json dependencies
2021-12-21 15:47:35 +00:00
Richard Davey
a0e67745ff
Merge pull request #5946 from andymikulski/fix-timeout-after-wake
Bugfix: TimeStep: Continue to use `setTimeout` after waking
2021-12-21 15:33:23 +00:00
Richard Davey
20633c4a22 Upgraded eslint and terser 2021-12-21 13:12:50 +00:00
J.C
214cdf6c1c on iOS 10, the webkitAudioContext does not have a parameter, it will cause error if you pass one. 2021-12-21 17:26:29 +08:00
J.C
7da6f4d747 in canvas mode, don't draw stuff with no size, it will throws error, and actually unnecessary. 2021-12-21 17:18:35 +08:00
J.C
271ce6932a polyfill for audio.dataset if it's missing on some browser. 2021-12-21 17:17:32 +08:00
J.C
57dee7c461 1, add missing polyfill for IE9,10
2, IE9, 10, function alias causes error and all audio can't work properly
2021-12-21 17:09:55 +08:00
Andy Mikulski
607bbe4ccd
TimeStep: Continue to use setTimeout after waking 2021-12-19 11:11:48 -07:00
Anton Khaynovskiy
cc57277f8c
move path to devDependencies 2021-12-16 23:10:48 +03:00
Richard Davey
38fa339196 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-12-15 22:26:20 +00:00
Richard Davey
36299a96df Update package-lock.json 2021-12-15 22:26:18 +00:00
Richard Davey
ba132ab25c Fixed JSDocs 2021-12-15 22:26:04 +00:00
Anton Khaynovskiy
1f292d80b0
remove path from package.json dependencies 2021-12-15 18:45:26 +03:00
Richard Davey
ba68697ba2 Update CHANGELOG-v3.60.md 2021-12-14 17:46:13 +00:00
Richard Davey
8a38f04ef2 You can now create Aseprite anims directly on a Sprite 2021-12-14 17:46:10 +00:00
Richard Davey
371724bd14 Update TypeScript and webpack plugin 2021-12-14 17:14:19 +00:00
Richard Davey
53d7e57d11 Update CHANGELOG-v3.60.md 2021-12-07 18:44:49 +00:00
Richard Davey
480df91037 Move to its own change log 2021-12-07 18:20:31 +00:00
Richard Davey
45a068dcf1 Update CHANGELOG.md 2021-12-07 17:30:56 +00:00
Richard Davey
476ed38e33 Removed deprecated functions 2021-12-07 17:30:56 +00:00
Richard Davey
b49ba5a4f7 Update CHANGELOG.md 2021-12-07 17:30:56 +00:00
Richard Davey
6b7a000975 Fix eslint 2021-12-07 17:30:56 +00:00
Richard Davey
c7ee6ff44d
Merge pull request #5937 from EmilSV/fix/move_scene_below
fix sceneManager moveBelow and moveAbove
2021-12-07 16:18:28 +00:00
Richard Davey
3d36ee5bb3
Merge pull request #5936 from samme/fix/point-light-get-bounds
Remove GetBounds component from PointLight
2021-12-07 16:15:47 +00:00
Richard Davey
3f8ef32899 eslint upgrade 2021-12-07 15:58:06 +00:00
Richard Davey
17407dcea6 Updated eslint and webpack 2021-12-06 16:25:01 +00:00
Emil Schnedler Vad
92694ac5ee fix sceneManager moveBelow and moveAbove
made the code account for that sceneA index decrement if SceneB is below it
2021-12-05 16:57:51 +01:00
samme
e9e72a3ea5 Remove GetBounds component from PointLight 2021-12-04 11:55:19 -08:00