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
Richard Davey
dff17f52e8
The LightPipeline
now only calls batchSprite
, batchTexture
and batchTextureFrame
if the Scene Lights Manager is active. Fix #5522
2021-02-04 16:38:09 +00:00
Richard Davey
b40010b86b
Fixed JSDocs
2021-02-04 16:27:02 +00:00
Richard Davey
aaf51dc7ce
The LightsManager.addPointlight
method now has full JSDocs and the attenuation
parameter.
2021-02-04 16:19:19 +00:00
Richard Davey
79468de255
ESLint fix
2021-02-04 16:11:09 +00:00
Richard Davey
35f790bb08
Update CHANGELOG-v3.50.md
2021-02-04 16:06:54 +00:00
Richard Davey
5176fcfacd
The Canvas Renderer will no longer run a fillRect
if clearBeforeRender
is false
in the Game Config.
2021-02-04 16:06:47 +00:00
Richard Davey
c5cbb413d2
You can now set the boolean preserveDrawingBuffer
in the Game Config (either directly, or in the Render Config). This is passed to the WebGL context during creation and controls if the buffers are automatically cleared each frame or not. The default is to clear them. Set to true
to retain them.
2021-02-04 15:58:41 +00:00
Richard Davey
bfbf665676
Merge branch 'master' of https://github.com/photonstorm/phaser
2021-02-04 15:32:43 +00:00
Richard Davey
ae8b052300
Update CHANGELOG-v3.50.md
2021-02-04 15:28:37 +00:00
Richard Davey
d1a08da63d
Update RenderConfig.js
2021-02-04 15:28:35 +00:00
Richard Davey
895d684c15
Merge pull request #5521 from edemaine/patch-1
...
Fix setPolygon documentation
2021-02-04 15:20:02 +00:00
Richard Davey
641a7c5d99
Merge pull request #5533 from veleek/veleek/isometricfix
...
Fix IsometricWorldToTileXY result
2021-02-04 15:17:54 +00:00
Richard Davey
e5f05fa248
Merge pull request #5541 from samme/feature/scene-prerender-event
...
Add Phaser.Scenes.Events.PRE_RENDER event
2021-02-04 15:04:07 +00:00
Richard Davey
46f127b0af
Merge pull request #5517 from rexrainbow/input-bug
...
Fix input bug
2021-02-04 14:59:43 +00:00
Richard Davey
01df296304
Merge pull request #5539 from somechris/from-percent-min-fix
...
Allow non-zero `min` in `FromPercent`
2021-02-04 14:53:41 +00:00
Richard Davey
f727171717
Merge pull request #5543 from samme/feature/warn-invalid-json
...
Warn and call onProcessError() for invalid JSON
2021-02-04 14:50:43 +00:00
samme
ff1afb4976
Warn and call onProcessError() for invalid JSON
...
Then rethrow
2021-02-03 11:58:29 -08:00
Richard Davey
2bfde24f99
Update CHANGELOG-v3.50.md
2021-02-01 15:18:12 +00:00
Richard Davey
a10919391a
type fix
2021-02-01 15:17:59 +00:00
Richard Davey
23987112e1
Update WebAudioSound.js
...
* The `WebAudioSound.audioBuffer` property is no longer private.
* The `WebAudioSound.source` property is no longer private.
* The `WebAudioSound.loopSource` property is no longer private.
* The `WebAudioSound.muteNode` property is no longer private.
* The `WebAudioSound.volumeNode` property is no longer private.
* The `WebAudioSound.pannerNode` property is no longer private.
* The `WebAudioSound.hasEnded` property is no longer private, but _is_ read only.
* The `WebAudioSound.hasLooped` property is no longer private, but _is_ read only.
2021-02-01 15:17:48 +00:00
Richard Davey
c20b06b259
Made most properties public. Fix #5531
...
* The `WebAudioSoundManager.createAudioContext` method is no longer private.
* The `WebAudioSoundManager.context` property is no longer private.
* The `WebAudioSoundManager.masterMuteNode` property is no longer private.
* The `WebAudioSoundManager.masterVolumeNode` property is no longer private.
* The `WebAudioSoundManager.destination` property is no longer private.
2021-02-01 15:17:37 +00:00
Christian Aistleitner
cbf3957a33
Allow non-zero min
in FromPercent
...
`FromPercent` silently assumed `min` to be 0. Shifting the result by
`min` makes it work as documented and gives a value between `min` and
`max`.
Our uses of `FromPercent` only have `min` at 0, so there is no
regression in our code. This is merely a fix for 3rd party users.
2021-01-31 21:08:46 +01:00
samme
7ba9d7ea8b
Docs: update scene event flow (PRE_RENDER)
2021-01-30 11:02:42 -08:00
samme
1145fd41bb
Add Phaser.Scenes.Events#PRE_RENDER event
...
By Phaser.Scenes.Systems#render
2021-01-30 11:02:42 -08:00
samme
a8e05cec3e
Add Phaser.GameObjects.Shape#setDisplaySize()
2021-01-30 09:33:21 -08:00
Rex
ee16c63987
Fix parameter name bug
2021-01-29 09:32:45 +08:00
Ben Randall
40ff85bdc5
Fix IsometricWorldToTileXY result
...
IsometricWorldToTileXY returns a tile that is offset by (-0.5, 0.5)
tiles from the expected location. This fixes the function so that
Tile => World => Tile conversion returns the same value.
2021-01-28 12:25:51 -05:00
Ben Randall
fea65988f4
Load Tiled object properties.
...
Tiled objects have properties as an array of objects like:
{ name: ..., type: ..., value: ...}
Update the parser to load these using the name/value properties instead
of just treating it as an array and loading properties named '0', '1',
etc. This is the same as how properties are handled in ParseTilesets.js
2021-01-23 14:59:33 -05:00
Erik Demaine
3accf46223
Fix setPolygon documentation
...
The order of arguments in `Body.setPolygon`'s documentation was the opposite from the actual code.
2021-01-22 20:13:25 -05:00
Rex
7f610eef98
Fix input bug
2021-01-21 11:13:33 +08:00