Commit graph

17675 commits

Author SHA1 Message Date
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
Richard Davey
c0d2d1d35e Removed over and out events as no browser supports them. Tidied up the rest. Added isTop property. 2021-11-30 22:38:26 +00:00
Richard Davey
064ecf3030 Update CHANGELOG.md 2021-11-30 20:29:19 +00:00
Richard Davey
1273145a6b When the Pointer moves out of the canvas and is released it would trigger Uncaught TypeError: Cannot read properties of undefined (reading 'renderList') if multiple children existed in the pointer-out array. Fix #5867 2021-11-30 20:29:16 +00:00
Richard Davey
bbfd580db6 upgrade webpack and sloc 2021-11-30 20:10:56 +00:00
Richard Davey
e7df392d5e
Merge pull request #5930 from Schweinepriester/patch-1
README.md: HTTP => HTTPS
2021-11-30 17:46:52 +00:00
Kai
189732fd8b
README.md: HTTP => HTTPS 2021-11-28 18:39:13 +01:00
Richard Davey
0e364321e6 Update BitmapMask-frag.js 2021-11-23 18:24:14 +00:00
Richard Davey
6c459eb3d5 Update Multi-frag.js 2021-11-23 18:19:05 +00:00
Richard Davey
cb6cee9a17 Update package-lock.json 2021-11-23 18:18:54 +00:00
Richard Davey
1b10b2d850 Update CHANGELOG.md 2021-11-23 18:18:51 +00:00
Richard Davey
8699e97f94 The BitmapMask shader has been recoded so it now works correctly if you mask a Game Object that has alpha set on it, or in its texture. Previously it would alpha the Game Object against black 2021-11-23 18:18:47 +00:00
Richard Davey
1af06910e2 Moved unlock handling to base, tidying up the common code 2021-11-22 23:54:12 +00:00
Richard Davey
a51267419d Use cache reference, more concise error 2021-11-22 23:53:56 +00:00
Richard Davey
5456267b2a Added pendingUnlock, tidied up the events, added unlock method 2021-11-22 23:53:44 +00:00
Richard Davey
3f237d6e1e Tidying up this class. Better name, lock handling and onload 2021-11-22 23:53:20 +00:00
Richard Davey
435aed229c Update package-lock.json 2021-11-22 23:52:51 +00:00
Richard Davey
2b6afda684 New unlock handler 2021-11-22 18:35:43 +00:00
Richard Davey
9705ea5b70 Debugging audio 2021-11-22 18:35:36 +00:00
Richard Davey
ee48f2a7ba Upgrade eslint, typescript and webpack 2021-11-22 17:00:40 +00:00
Richard Davey
6c6084a4c5 Debugging logs 2021-11-22 16:59:30 +00:00
Richard Davey
c84891a70c Update CHANGELOG.md 2021-11-22 16:59:30 +00:00
Richard Davey
5b39d22368 Mesh addVertices and addVerticesFromObj will now throw warnings if invalid verts are given. Fix #5922 2021-11-22 16:59:30 +00:00
Richard Davey
082da09bea Upgrade webpack 2021-11-22 16:59:30 +00:00
Richard Davey
ec4e8ccff7
Merge pull request #5927 from samme/feature/createLayer-warning
Improve the "Invalid Tilemap Layer" warning
2021-11-22 16:49:09 +00:00
Richard Davey
06afcf7903
Merge pull request #5928 from samme/docs/ArcadePhysicsCallback
Docs: namespace ArcadePhysicsCallback type
2021-11-22 16:48:41 +00:00
Richard Davey
73f2195426
Merge pull request #5923 from EmilSV/Compressed_Texture_multi_atlas_img_fix
fixes a bug in Phaser.Loader.LoaderPlugin#texture
2021-11-22 16:48:21 +00:00
samme
2ebbb970a5 Shorten the 'Valid tilelayer' warning 2021-11-22 08:47:56 -08:00
samme
6dc89a4596 Docs: namespace ArcadePhysicsCallback 2021-11-21 20:23:31 -08:00