Richard Davey
|
8f8a90bedd
|
Utils.Array.StableSort has been recoded. It's now based on Two-Screens stable sort 0.1.8 and has been updated to fit into Phaser better and no longer create any window bound objects. The inplace function has been removed, just call StableSort(array) directly now. All classes that used StableSort.inplace have been updated to call it directly.
|
2020-09-02 12:24:27 +01:00 |
|
Richard Davey
|
0bbe67dafd
|
When using the GameObjectCreator for Containers you can now specify the children property in the configuration object.
|
2020-08-25 15:51:11 +01:00 |
|
Richard Davey
|
157be83f7c
|
The Container will now test to see if any Game Object added to it is already on the display list, or not, and emit its ADDED and REMOVED events accordingly. Fix #5267 #3876
|
2020-08-24 19:26:19 +01:00 |
|
Richard Davey
|
6374da052f
|
Fixed lint errors with PR #5193
|
2020-07-13 12:55:49 +01:00 |
|
Richard Davey
|
259b702df8
|
Merge pull request #5193 from scott20145/master
Fix nested mask behaviour for Phaser.CANVAS mode
|
2020-07-13 12:54:14 +01:00 |
|
Richard Davey
|
b6fd158986
|
Container.getBounds will no longer set the temp rect bounds to the first child of the Container by default (which would error if the child had no bounds, like a Graphics object) and instead sets it as it iterates the children
|
2020-07-13 12:12:28 +01:00 |
|
SirJosh3917
|
f2e8a83691
|
Update ContainerFactory.js
Given that Container's constructor allows x and y to be optional, the JSDoc should match that.
|
2020-07-09 23:32:54 -04:00 |
|
scott.liu
|
ea3279bd32
|
format
|
2020-06-17 11:03:25 +08:00 |
|
scott.liu
|
2f98f463d2
|
format
|
2020-06-17 11:01:50 +08:00 |
|
scott.liu
|
7f4bbf9192
|
format
|
2020-06-17 10:59:25 +08:00 |
|
scott.liu
|
104a3b9e35
|
format
|
2020-06-17 10:56:17 +08:00 |
|
scott.liu
|
f607f1f521
|
#3673 fix nested mask behaviour for Phaser.CANVAS mode
|
2020-06-17 10:53:38 +08:00 |
|
Richard Davey
|
7525ed2533
|
Updated docs
|
2020-04-27 15:09:37 +01:00 |
|
Richard Davey
|
91e8d331c6
|
lint fixes
|
2020-04-27 13:03:55 +01:00 |
|
Godard
|
9c2447dcb8
|
fix Container pointToContainer function
|
2020-04-09 12:02:31 -04:00 |
|
Eliot Godard
|
f4ba7c4e3a
|
Fix wrong Container.getBounds with child container
|
2020-03-12 01:42:17 -04:00 |
|
Jason Kwok
|
91f1fefd2b
|
Fixed this return types for Phaser.GameObjects.Container
|
2020-01-26 20:50:59 +08:00 |
|
Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
f0e7a9bcf9
|
The Container Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the container, rather than a quad alpha, which never worked consistently across Container children. Fix #4916
|
2019-12-28 17:27:31 +00:00 |
|
Richard Davey
|
04bfe30255
|
Container.mask wouldn't render in WebGL due to a change in the way child masks were handled. Container masking now works again as in 3.19. Fix #4803
|
2019-10-15 11:29:47 +01:00 |
|
Richard Davey
|
ea75c5ca9a
|
Updated quad alpha checks
|
2019-10-02 10:11:07 +01:00 |
|
Richard Davey
|
a7a15bcb4d
|
Merge pull request #4715 from MrcSnm/master
Container now can apply alpha quads
|
2019-10-02 09:55:59 +01:00 |
|
Marcelo Silva Nascimento Mancini
|
b7166bba3b
|
ESLint correction
|
2019-10-01 16:11:29 -03:00 |
|
Richard Davey
|
ea7691518b
|
Use public property for blend mode check #4771
|
2019-10-01 14:08:13 +01:00 |
|
Richard Davey
|
cde1210523
|
The Container WebGLRenderer will now handle child new type switching, allowing you to carry on with a batch of same-type Game Objects even if they're nested within Containers. Fix #4710
|
2019-09-27 15:41:51 +01:00 |
|
=
|
e7cce944dd
|
Container now can apply alpha quads
|
2019-08-19 13:26:14 -03:00 |
|
Richard Davey
|
7d2eaae693
|
The Container renderer functions will now read the childs alpha property, instead of _alpha , allowing it to work with more variety of custom children.
|
2019-08-08 14:03:23 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
f4a86fd368
|
The Container.setScrollFactor method has a new optional argument updateChildren . If set, it will change the scrollFactor values of all the Container children as well as the Container. Fix #4466 #4475
|
2019-04-24 12:09:16 +01:00 |
|
Richard Davey
|
78e1ef9df0
|
Particle Emitters and Containers can now have geometry masked children
|
2019-04-15 16:46:47 +01:00 |
|
Richard Davey
|
fac2efedc4
|
Container + List.sort scope fixed and custom handler option added. Fix #4241
|
2019-01-24 11:04:36 +00:00 |
|
Richard Davey
|
36d86abd48
|
Added Camera Fade and Game Object Destroy events.
|
2019-01-18 14:21:45 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
J.C
|
f09e777f84
|
1, GetFirstElement -> should be GetFirst
2, doc fix
|
2018-12-20 11:11:56 +08:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01:00 |
|
Richard Davey
|
a9063604dc
|
Replace @readOnly with @readonly
|
2018-10-09 13:40:00 +01:00 |
|
Richard Davey
|
e94d92518d
|
GameObjects added to and removed from Containers no longer listen for the shutdown event at all
|
2018-09-25 15:00:23 +01:00 |
|
Richard Davey
|
91f7e27ae8
|
Transform.getWorldTransformMatrix has been recoded to iterate the transform parents correctly, applying the matrix multiplications as it goes. This (along with some changes in the Input Manager) fix the issue with Game Objects inside of Containers failing hit tests between certain angles. Fix #3920
|
2018-08-29 16:10:48 +01:00 |
|
Richard Davey
|
198f353c9a
|
The default Container Blend Mode is now SKIP_TEST . This allows you to either set a blend mode for a Container, in which case all children use that blend mode. Or, you can set a blend mode on the children and the children will render using their own blend modes, as the Container doesn't have one set. The WebGL and Canvas Renderer functions have also been updated to support this change. Fix #3684
|
2018-08-21 22:07:35 +01:00 |
|
Richard Davey
|
fc0dc13930
|
Removed use of currentBlendMode and currentAlpha
|
2018-08-03 01:53:51 +01:00 |
|
Richard Davey
|
20b74e746a
|
Fixed parent order
|
2018-08-02 16:19:14 +01:00 |
|
Richard Davey
|
46552c8f2e
|
Remove strict check
|
2018-08-01 16:04:08 +01:00 |
|
Richard Davey
|
84ae027665
|
lint fix
|
2018-07-31 12:59:11 +01:00 |
|
Richard Davey
|
718d72b4c8
|
Container child willRender check. Fix #3881
|
2018-07-31 12:57:31 +01:00 |
|
Richard Davey
|
106e32a4f5
|
Removed un-used imports
|
2018-07-19 13:26:11 +01:00 |
|
Richard Davey
|
ec5bd1912e
|
GameObject.willRender now takes a Camera as its only argument and uses it within the check. This has allowed me to remove 23 duplicate checks spread across the various Game Objects, all of which did the same thing, saving both KB and CPU time as the flags were being checked twice in most cases.
|
2018-07-19 13:19:02 +01:00 |
|
Richard Davey
|
f97ce72e16
|
Added the Mask compontent to Container. It worked without it, but this brings it in-line with the documentation and other Game Objects. Fix #3797
|
2018-06-28 14:17:04 +01:00 |
|
Chris Andrew
|
124b0ff773
|
Documented Light, LightsManager and LightsPlugin.
Documented class description for TransformMatrix.
Added a missing description from Container's EachContainerCallback.
|
2018-06-13 18:44:32 +01:00 |
|
Chris Andrew
|
ab5853f65e
|
Started documenting the Graphics game object.
Added a couple of missing descriptions for the Container game object.
|
2018-06-06 17:52:31 +01:00 |
|
Richard Davey
|
30678b44ff
|
Updated method names
|
2018-05-23 23:09:31 +01:00 |
|