Commit graph

17153 commits

Author SHA1 Message Date
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
Richard Davey
c9c3455d21 Update CHANGELOG.md 2021-12-01 17:41:49 +00:00
Richard Davey
322a6131f8 Added clarifications to the documentation re: out handling. Close #5796 2021-12-01 17:41:46 +00:00
Richard Davey
9e7af59a4e Update CHANGELOG.md 2021-12-01 17:24:16 +00:00
Richard Davey
7188040d7d The GameObject.willRender method will now factor in the parent displayList, if it has one, to the end result. This fixes issues like that where an invisible Layer will still process input events. Fix #5883 2021-12-01 17:24:12 +00:00
Richard Davey
9d9c64db5b Update CHANGELOG.md 2021-12-01 17:03:04 +00:00
Richard Davey
e1718f9fbe The InputPlugin.sortGameObjects will now assign a value of 0 to any game object not in the render list, but still viable for input, such as an invisible object with alwaysEnabled set to true. This fixes an issue where non-render list objects would be skipped. Fix #5507 2021-12-01 17:03:01 +00:00
Richard Davey
4e79438a5c Update CHANGELOG.md 2021-12-01 16:36:09 +00:00
Richard Davey
91f72f7700 The InputManager.onTouchMove method will now check if the changed touch is over the canvas, or not, via the DOM elementFromPoint function. This means if the touch leaves the canvas, it will now trigger the GAME_OUT and GAME_OVER events, where-as before this would only happen for a Mouse. If the touch isn't over the canvas, no Pointer touch move happens, just like with the mouse. Fix #5592 2021-12-01 16:36:06 +00:00
Richard Davey
d36c8177b5 Update InputManager.js 2021-12-01 13:15:27 +00:00
Richard Davey
54b033aaf0 Update CHANGELOG.md 2021-11-30 22:38:28 +00:00