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
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
Richard Davey
457ab68ef4
Container updated to use preDestroy and remove event hooks
2018-05-22 16:02:28 +01:00
Richard Davey
26faa58ad7
Corrected an error in Container.getBoundsTransformMatrix that called a missing method, causing a getBounds
on a nested container to fail. Fix #3624
2018-05-15 16:23:33 +01:00
Richard Davey
9fa74400ab
Container.getBounds now checks if it can call getBounds
on its children before doing so, as some do not have this method (such as Graphics objects) so they no longer cause the call to crash. Fix #3623
2018-04-30 12:28:26 +01:00
Richard Davey
cfc4528370
Containers no longer in beta.
2018-04-19 14:35:17 +01:00
Richard Davey
6b2307594a
Scene plugin flow overhaul
...
Every Plugin has been updated to correctly follow the same flow through the Scene lifecycle. Instead of listening for the Scene 'boot' event, which is only dispatched once (when the Scene is first created), they will now listen for the Scene 'start' event, which occurs every time the Scene is started. All plugins now consistently follow the same Shutdown and Destroy patterns too, meaning they tidy-up after themselves on a shutdown, not just a destroy. Overall, this change means that there should be less issues when returning to previously closed Scenes, as the plugins will restart themselves properly.
2018-04-13 17:12:17 +01:00
Richard Davey
703f04025b
Added warning to docs
2018-04-12 22:49:02 +01:00
Richard Davey
f13bbca9c3
Fix getWorldBounds clash
2018-04-12 14:25:46 +01:00
Richard Davey
38626f8556
Added originX/Y properties. Fix #3545
2018-04-11 21:07:41 +01:00
Richard Davey
223c94a783
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-11 16:58:52 +01:00
Richard Davey
0e14b43623
Added maxSize
, jsdocs and ts def fixes
2018-04-11 16:58:48 +01:00
Felipe Alfonso
5e2699f1a4
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-11 12:55:54 -03:00
Felipe Alfonso
23cd9868b4
Added getWorldTransformMatrix to Container and added support to parent container transform to GetBounds component.
2018-04-11 12:55:32 -03:00
Richard Davey
a1e10a4bbc
Added missing extends and removed setSF because defaults are 1,1 anyway
2018-04-11 15:39:30 +01:00
Felipe Alfonso
091d947eae
Container scroll factor implemented to the render functions
2018-04-11 11:02:04 -03:00
Richard Davey
30d73a0197
Container can now be assigned an arcade physics body
2018-04-11 13:37:38 +01:00
Richard Davey
e2a0a4a5a7
Start of getBounds
2018-04-11 13:17:35 +01:00
Richard Davey
e135f132d9
Added missing properties needed for input to work
2018-04-11 11:25:11 +01:00
Richard Davey
1fa909081c
eslint fixes
2018-04-10 17:35:14 +01:00
Richard Davey
be7b52b1b9
No longer extends List, but implements its own methods directly.
2018-04-10 15:21:46 +01:00
Richard Davey
cdfe2e0ea2
Fixed references
2018-04-10 04:13:38 +01:00
Richard Davey
3c5d3db267
Testing exclusive setting
2018-04-09 17:33:55 +01:00
Richard Davey
12b6b26838
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-09 16:43:37 +01:00
Felipe Alfonso
9d39bd7b45
Container alpha added
2018-04-09 12:32:08 -03:00
Richard Davey
381963c014
Removed localToWorld (no longer needed)
2018-04-09 16:01:16 +01:00
Richard Davey
eb0f3c3ec1
Added missing Container components
2018-04-05 16:53:40 +01:00
Richard Davey
7e64b4d624
Automatically remove from display list
2018-04-05 15:28:34 +01:00
Richard Davey
fb04cd4869
Containers are now exclusive
2018-04-05 14:59:57 +01:00
Richard Davey
183896f8ff
Added parentContainer
property
2018-04-05 14:56:43 +01:00
Richard Davey
13df64c01f
Extends List
2018-04-05 13:52:42 +01:00
Richard Davey
85671883e8
Tidying up
2018-04-05 11:25:22 +01:00
Richard Davey
054ceafae0
Added jsdocs to Container and made add
support arrays
2018-04-05 09:23:29 +01:00
Richard Davey
4f6239dadb
jsdoc and eslint fixes
2018-04-05 09:02:36 +01:00
Felipe Alfonso
5026566084
Container Canvas Rendering function
2018-04-04 12:22:10 -03:00
Felipe Alfonso
0186e122a6
If a container is nested the parentContainer property is setted
2018-03-29 12:34:23 -03:00
Felipe Alfonso
88ed9bd3b8
transform to container space
2018-03-28 20:47:57 -03:00
Felipe Alfonso
eac2b8338e
parentTransformMatrix argument added to texture pipeline
2018-03-26 17:23:18 -03:00
Felipe Alfonso
5bcd12fcb7
Base container rendering + sprite batching with parent matrix
2018-03-23 14:15:52 -03:00