Commit graph

16546 commits

Author SHA1 Message Date
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
Richard Davey
c5766a68a4
Merge pull request #5540 from samme/feature/shape-setDisplaySize
Add Phaser.GameObjects.Shape#setDisplaySize()
2021-02-16 11:18:23 +00:00
Richard Davey
a73b2b31ac
Merge pull request #5546 from xuxucode/patch-1
Fix PlaceOnRectangle JSDoc
2021-02-16 11:14:50 +00:00
Richard Davey
fe91339502 Update CHANGELOG-v3.50.md 2021-02-16 11:13:13 +00:00
Richard Davey
79d7dadac9
Merge pull request #5551 from samme/fix/line-curve-tangent-out
Fix missing output arg in Phaser.Curves.Line#getTangent
2021-02-16 11:11:49 +00:00
Richard Davey
63edb39bbe Update CHANGELOG-v3.50.md 2021-02-16 10:59:53 +00:00
Richard Davey
4b3a0009ee
Merge pull request #5559 from mattjennings/fix-5558
Fixes #5558
2021-02-16 10:56:01 +00:00
Richard Davey
1d4e4e0d02 Update package-lock.json 2021-02-16 10:48:45 +00:00
Richard Davey
c9f11890f8 Update CHANGELOG-v3.50.md 2021-02-16 10:48:39 +00:00
Richard Davey
a05da72739 DOMElementCSSRenderer will now return early if src.node doesn't exist or is null, rather than trying to extract the style property from it. Fix #5566 2021-02-16 10:48:35 +00:00
samme
e2384f8961 Add min and max zoom to camera controls 2021-02-14 21:07:37 -08:00
Matt Jennings
72fd48abc4 safely check for renderer in TileSprite 2021-02-11 16:00:24 -06:00
Matt Jennings
a29523de53 safely check for renderer in BitmapMask 2021-02-11 15:57:40 -06:00
Matt Jennings
d30c1682d2 check that renderer exists before accessing renderer.type (fixes #5558) 2021-02-11 15:43:16 -06:00
Richard Davey
d4b19cee5b Merge branch 'master' of https://github.com/photonstorm/phaser 2021-02-10 09:33:45 +00:00
Richard Davey
512eea7b8c Update CHANGELOG-v3.50.md 2021-02-10 09:33:42 +00:00
Richard Davey
3493c4cd7b
Merge pull request #5523 from veleek/veleek/tiledobjectprops
Load Tiled object properties using names.
2021-02-10 09:30:56 +00:00
samme
bdca6f28f3 Fix missing out arg in Curves.Line#getTangent 2021-02-09 09:44:06 -08:00
xuxu
c3d3461a38
Fix PlaceOnRectangle JSDoc
The shift value defaults to 0
2021-02-07 21:43:19 +08:00
Richard Davey
d7baf55fb0 Update CHANGELOG-v3.50.md 2021-02-04 16:38:12 +00:00