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
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