Commit graph

16515 commits

Author SHA1 Message Date
Richard Davey
27806dad9c Container.addHandler will now use the new addToDisplayList and removeFromDisplayList Game Object methods. 2021-03-03 18:00:34 +00:00
Richard Davey
d59a7868a3 DisplayList.addChildCallback will now use the new addToDisplayList and removeFromDisplayList Game Object methods. 2021-03-03 18:00:24 +00:00
Richard Davey
a01ed4ff73 Added addToDisplayList, addToUpdateList, removeFromDisplayList and removeFromUpdateList methods. 2021-03-03 17:58:12 +00:00
Neil Haskins
7ddeee6542
Merge pull request #1 from neil-h/neil-h-patch-1
Update RGBToString.js
2021-03-02 11:37:12 -08:00
Neil Haskins
6ec5868f3a
Update RGBToString.js
Prevent adding decimal places behind RGB string with '#' prefix.
2021-03-02 11:30:38 -08:00
Richard Davey
7bac32beda Update CHANGELOG-v3.50.md 2021-03-02 14:59:17 +00:00
Richard Davey
17ceb810e8 Spine Game Objects and Containers will now add themselves to the Camera render list, fixing issues where input didn't work if depth was used or they were overlapped with another interactive Game Object. 2021-03-02 14:59:12 +00:00
Richard Davey
13fde9ce7a Update SpinePlugin.js 2021-03-02 14:59:00 +00:00
Richard Davey
6fd318f926 Update CHANGELOG-v3.50.md 2021-03-01 17:50:40 +00:00
Richard Davey
e954547cf7 The PipelineManager.rebind method will now flag all pipelines as glReset = true, so they know to fully rebind the next time they are invoked. 2021-03-01 17:50:40 +00:00
Richard Davey
8d7519b84d * WebGLPipeline.glReset is a new boolean property that keeps track of when the GL Context was last reset by the Pipeline Manager. It then redirects calls to bind to rebind instead to restore the pipeline state.
The `WebGLPipeline.rebind` method now accepts an optional parameter `currentShader`. If provided it will set the current shader to be this after the pipeline reset is complete.
2021-03-01 17:50:39 +00:00
Richard Davey
dc4942ca30
Merge pull request #5568 from samme/feature/camera-controls-zoom
Add min and max zoom to camera controls
2021-03-01 16:41:16 +00:00
Richard Davey
f001d6db2e
Merge pull request #5577 from samme/patch-6
Docs: damping in Phaser.Physics.Arcade.Body#drag
2021-03-01 16:39:47 +00:00
Richard Davey
6e931cce9c
Merge pull request #5575 from Pong420/spine-plugin
fix(spine-plugin): errors throw while game destroy
2021-03-01 16:25:07 +00:00
Richard Davey
c456326569 Update CHANGELOG-v3.50.md 2021-03-01 09:16:14 +00:00
Richard Davey
d593124a27 Update CHANGELOG-v3.50.md 2021-02-25 18:02:44 +00:00
Richard Davey
c44cd52a5f Update CHANGELOG-v3.50.md 2021-02-25 14:40:38 +00:00
Richard Davey
d22e3567c7 Fixed a conditional bug in Arcade Physics ProcessX when Body2 is Immovable and Body1 is not 2021-02-25 14:40:34 +00:00
samme
ea7a9aa132
Docs: damping in Phaser.Physics.Arcade.Body#drag 2021-02-23 09:53:42 -08:00
Richard Davey
a3bcf4beb1 Improved JSDocs 2021-02-23 17:12:12 +00:00
Richard Davey
2e78cb4bc6 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-02-23 09:22:11 +00:00
Richard Davey
50162706a9 Update CHANGELOG-v3.50.md 2021-02-23 09:22:09 +00:00
Pong
9ff874edf1 fix(spine-plugin): errors throw while game destroy 2021-02-22 20:50:03 +08:00
Richard Davey
d3536fb138
Merge pull request #5574 from samme/fix/canvas-particle-emitter-follow
Fix wrong particle position when following a sprite with Canvas renderer
2021-02-22 10:29:25 +00:00
samme
3248971411 Fix wrong particle follow position
Fixes #5457
2021-02-21 11:30:32 -08:00
Lukáš Krotovič
f5f3411aac Add @this into CreateSceneFromObjectConfig callbacks 2021-02-19 08:48:16 +01:00
Lukáš Krotovič
fdbffffd3e Add support for this param in function type definitions 2021-02-19 08:48:16 +01:00
Richard Davey
bcec700776 Update CHANGELOG-v3.50.md 2021-02-17 13:11:15 +00:00
Richard Davey
8a6a4a7219 If TextureSource.destroy has a WebGL Texture it will tell the WebGL Renderer to reset the textures first, before deleting its texture. 2021-02-17 13:11:12 +00:00
Richard Davey
a95c34ce92 WebGLRenderer.deleteTexture will now run resetTextures(true) first, incase the requested texture to be deleted is currently bound. Previously, it would delete the texture and then reset them. 2021-02-17 13:10:10 +00:00
Richard Davey
7e40c7c08e Update CHANGELOG-v3.50.md 2021-02-17 13:08:27 +00:00
Richard Davey
74fd1531bc Matter.Components.Sleep.setToSleep and setAwake were documented as returning this, however they didn't return anything. Both now return this correctly. Fix #5567 2021-02-17 13:08:24 +00:00
Richard Davey
bf9966cb9e Update CHANGELOG-v3.50.md 2021-02-16 13:41:43 +00:00
Richard Davey
d662e68693 Update CHANGELOG-v3.50.md 2021-02-16 13:32:16 +00:00
Richard Davey
6761ec92f5 Fixed docs. Fix #5484 2021-02-16 13:32:13 +00:00
Richard Davey
87478f746f Update CHANGELOG-v3.50.md 2021-02-16 13:21:36 +00:00
Richard Davey
372ca3bd4a Better JSDocs and types 2021-02-16 13:21:31 +00:00
Richard Davey
e96cab1784 Improved documentation. Fix #5554 2021-02-16 13:09:30 +00:00
Richard Davey
9276967ccc Update CHANGELOG-v3.50.md 2021-02-16 12:59:12 +00:00
Richard Davey
7cbf3840af SceneManager.loadComplete will no longer try to unlock the Sound Manager, preventing AudioContext was not allowed to start console warnings after each Scene finishes loading. 2021-02-16 12:59:08 +00:00
Richard Davey
612cd8c7d9 Update CHANGELOG-v3.50.md 2021-02-16 12:32:59 +00:00
Richard Davey
3deb6672aa RenderTarget.resize will now Math.floor the scaled width and height as well as ensure they're not <= 0 which causes Framebuffer status: Incomplete Attachment errors. Fix #5563 2021-02-16 12:32:55 +00:00
Richard Davey
c7442be3e5 Update CHANGELOG-v3.50.md 2021-02-16 11:53:35 +00:00
Richard Davey
b082ef0967 The Actions.PlayAnimation arguments have been updated to match the new animation system introduced in Phaser 3.50. It will now take either a string-key, or a play animation configuration object, and the startFrame parameter has been replaced with ignoreIfPlaying. The function will also only call play if the Game Object has an animation component, meaning you can now supply this action with a mixed-content array without errors. Fix #5555 2021-02-16 11:53:12 +00:00
Richard Davey
0c05d681e6 Update ParseTilesets.js 2021-02-16 11:44:49 +00:00
Richard Davey
e8fe16c417 Fixed function name and formatting #5292 2021-02-16 11:44:43 +00:00
Richard Davey
9447cd4b7e Update CHANGELOG-v3.50.md 2021-02-16 11:44:17 +00:00
Richard Davey
8dcf36797d Update CHANGELOG-v3.50.md 2021-02-16 11:35:43 +00:00
Richard Davey
be2dad8a70
Merge pull request #5292 from browndragon/tiled
Fix up tiled json parsing.
2021-02-16 11:35:24 +00:00
Richard Davey
6b960464b5
Merge pull request #5504 from endel/patch-1
allow to customize pointerEvents for dom elements
2021-02-16 11:29:26 +00:00