Richard Davey
7a12a205b8
Merge pull request #5661 from Palats/master
...
Fix Phaser.GameObjects.Components.Pipeline#postPipelines doc
2021-04-19 20:41:29 +01:00
Richard Davey
2156be011b
Update Extern.js
2021-04-19 08:52:25 +01:00
Pierre Palatin
93543d650a
Fix Phaser.GameObjects.Components.Pipeline#postPipelines doc
...
* Updates the Documentation
Describe the changes below:
The `s` was missing in the doc for `postPipelines`, leading to wrong Typescript typing and misleading documentation.
2021-04-18 17:49:32 +02:00
Richard Davey
2712e87ca2
Graphics and Shape now use the new Multi Pipeline
2021-04-16 18:19:39 +01:00
Richard Davey
bb1a078243
The GameObjectFactory.existing
method will now accept Layer
as a TypeScript type. Fix #5642
2021-04-13 13:42:33 +01:00
samme
2856b1ab3a
Fix clearing PRE_UPDATE by mistake
2021-04-02 19:02:14 -07:00
Richard Davey
8c47d54e4d
Added missing docs. Fix #5629
2021-03-30 10:30:02 +01:00
Richard Davey
b280f3f400
GameObjects.DOMElement.pointerEvents
is a new property that allows you to set the pointerEvents
attribute on the DOM Element CSS. This is auto
by default and should not be changed unless you know what you're doing.
2021-03-30 10:23:23 +01:00
samme
f35ab198f7
Docs: fix generic type for GameObjectFactory#existing
2021-03-24 18:00:44 -07:00
Richard Davey
e9da34e39f
Docs update. Fix #5604
2021-03-24 16:30:33 +00:00
Richard Davey
7411c805b8
Version fix
2021-03-24 16:30:33 +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
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
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
e2f19617f3
3.53.1 Release
2021-03-08 16:37:16 +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
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
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
4b3a0009ee
Merge pull request #5559 from mattjennings/fix-5558
...
Fixes #5558
2021-02-16 10:56:01 +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
Matt Jennings
72fd48abc4
safely check for renderer in TileSprite
2021-02-11 16:00:24 -06: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
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
Rex
7f610eef98
Fix input bug
2021-01-21 11:13:33 +08:00
Richard Davey
332d9c85cb
BlitterWebGLRenderer
was calling an out-dated function setRenderDepth
instead of addToRenderList
2021-01-14 17:09:04 +00:00
Endel Dreyer
1919bbdfb8
allow to customize pointerEvents for dom elements
2021-01-14 10:54:29 -03:00
Richard Davey
9116eddf99
Some Bitmap Text fonts were not rendering under Canvas due to the way in which the texture offset was calculated. It now uses the __BASE
frame to get the texture offset, rather than the first frame in the set. Fix #5462 #5501
2021-01-14 11:06:04 +00:00
Andrew Cunningham
724c2f59d5
Update Mesh.js documentation around panZ
...
This adds warnings about orthographic and perspective cameras, documents setOrtho & panZ with sane (ish) default values for the default projection matrix, and updates the example code in the file.
These changes could go further; I would love it if the default mechanisms "agreed" (so that feeding it z=0 vertex values "just worked"), but that's probably a difficult backwards facing change.
Inspired by https://github.com/photonstorm/phaser/issues/5380 .
2021-01-12 14:28:52 -05:00
Richard Davey
15908ce271
getPostPipeline will now return an array of them all if there is more than one instance
2021-01-11 17:17:00 +00:00
Richard Davey
1c8662dc1f
Call addToRenderList
2021-01-07 14:52:08 +00:00
Richard Davey
00d8b6a009
Invoke camera.addToRenderList
method
2021-01-07 12:31:31 +00:00
Richard Davey
3db77c7a10
Use Scene Display List if not available
2021-01-07 12:22:09 +00:00
Richard Davey
c124d4c0a6
Merge pull request #5467 from rexrainbow/improve-postfx-pipeline
...
Remove a type of Post Pipeline instances, not only a single instance
2021-01-04 16:14:48 +00:00
Richard Davey
a19e4770df
The Layer
Game Object has been given all of the missing properties and methods from Game Object to make the class shapes identical. This includes the properties parentContainer
, tabIndex
, input
and body
. You cannot set any of these properties, they are ignored by the Layer itself. It also includes the methods: setInteractive
, disableInteractive
and removeInteractive
. A Layer cannot be enabled for input or have a physics body. Fix #5459
2021-01-04 16:11:33 +00:00