Commit graph

10582 commits

Author SHA1 Message Date
Richard Davey
c863a59223
Merge pull request #5569 from krotovic/feat/tsgen-this-function
Add support for `this` in function definitions
2021-03-24 16:06:25 +00:00
Richard Davey
2982b866da
Merge pull request #5612 from veleek/benran/keyboardshutdown
Remove and destry all Keys in Scene.Shutdown()
2021-03-24 16:01:08 +00:00
Richard Davey
0806f36685
Merge pull request #5589 from neil-h/master
Stop RGBToString from returning CSS strings with decimal places
2021-03-24 15:56:27 +00:00
Richard Davey
ddb62c7aa8
Merge pull request #5614 from workadventure-xce/fix/dom_elements_container_style
Do not set pointer-events property on DOM elements container
2021-03-24 15:51:26 +00:00
Richard Davey
9aa08a4a4f
Merge pull request #5606 from vforsh/master
Fix #5545
2021-03-24 15:46:41 +00:00
Richard Davey
3da806cdb3
Merge pull request #5601 from masterT/master
Documentation Group#getMatching example fix
2021-03-24 15:44:35 +00:00
Richard Davey
89c9a4caaa
Merge pull request #5598 from samme/patch-7
Docs: fix RenderTexture params
2021-03-24 15:43:57 +00:00
Richard Davey
20831604c7 Fixed missing backgroundColor property in GameConfig. 2021-03-24 15:42:55 +00:00
Richard Davey
bd9fbfe077 Adding a Game Object to a Container that already existed in another Container would leave a copy of it on the Display List 2021-03-24 15:39:30 +00:00
Richard Davey
da44c1e3fb JSDoc fix 2021-03-24 15:39:09 +00:00
PizZaKatZe
9891223a81 Do not set pointer-events property on DOM elements container
Fixes #5594.

If I understand correctly, #5504 tried to achieve the property is left
at its default value. The fact that the DOM container also defines it
was probably overlooked. :-)
2021-03-21 20:08:32 +01:00
Ben Randall
e0f26f6b9d Remove and destry all Keys in Scene.Shutdown() 2021-03-17 20:01:24 -07:00
Vladislav Forsh
ab202efea7 Handle case when fromAtlas could be undefined 2021-03-17 10:26:47 +03:00
Vladislav Forsh
22edb0d95f Update fromAtlas property on font change 2021-03-16 19:44:26 +03:00
Vladislav Forsh
2418b7f484 Fix #5545 2021-03-16 18:04:38 +03:00
Simon Thiboutôt
e15f51c3e0
Fix getMatching example. 2021-03-14 08:49:53 -04:00
samme
43bd8d124c
Docs: fix RenderTexture params 2021-03-11 20:53:59 -08:00
Richard Davey
f39c6d1ee6 Typo 2021-03-10 11:53:49 +00:00
Richard Davey
dd448f505a Preparing for 3.54 2021-03-10 11:53:37 +00:00
Richard Davey
e2f19617f3 3.53.1 Release 2021-03-08 16:37:16 +00:00
Richard Davey
8171c70bf5 Removed duplicate property 2021-03-08 15:06:05 +00:00
Richard Davey
87868d98b9 Uses new Display List methods and added new parameter to destroy. Fix #5576 2021-03-03 18:05:27 +00:00
Richard Davey
425594cb8e Layer.addChildCallback and removeChildCallback will now use the new addToDisplayList and removeFromDisplayList Game Object methods. 2021-03-03 18:01:18 +00:00
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
6ec5868f3a
Update RGBToString.js
Prevent adding decimal places behind RGB string with '#' prefix.
2021-03-02 11:30:38 -08: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
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
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
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
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
6761ec92f5 Fixed docs. Fix #5484 2021-02-16 13:32:13 +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
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
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
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
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