Commit graph

17111 commits

Author SHA1 Message Date
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
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
Richard Davey
8db0d2849d
Merge pull request #5933 from samme/fix/scene-pause-sleep
Fix the pause and sleep status checks
2021-12-01 23:31:13 +00:00
samme
82d7861930 Fix the pause and sleep status checks 2021-12-01 14:38:15 -08:00
Richard Davey
931a99a11d Update CHANGELOG.md 2021-12-01 21:24:07 +00:00
Richard Davey
31cbacbe20 Can only sleep a running scene 2021-12-01 21:24:03 +00:00
Richard Davey
fa8a25f6a8 Update CHANGELOG.md 2021-12-01 18:37:31 +00:00
Richard Davey
e56391d8ed
Merge pull request #5918 from rexrainbow/shape-gameobject-mask
Allow Shape game object to be a mask
2021-12-01 18:36:04 +00:00
Richard Davey
5e40753da2 Update CHANGELOG.md 2021-12-01 18:30:04 +00:00
Richard Davey
982ab23aba Update InputPlugin.js 2021-12-01 18:30:02 +00:00
Richard Davey
11ae9f1b35 Make use of the disable method to avoid duplication of code 2021-12-01 18:10:04 +00:00
Richard Davey
f2ef340d6b Update CHANGELOG.md 2021-12-01 17:59:50 +00:00
Richard Davey
a9538c0145 Updated function to use internal vars and fixed jsdoc. Also don't return if input false, as object may still be in arrays anyway #5839 2021-12-01 17:59:46 +00:00
Richard Davey
385800ec2f
Merge pull request #5839 from natureofcode/fix/issue-5828
Fix #5828, improve GameObject#disableInteractive() and InputPlugin#disable()
2021-12-01 17:46:34 +00:00