Commit graph

1124 commits

Author SHA1 Message Date
Felipe Alfonso
4f8ddd73bb Merge branch 'master' into containers 2018-03-29 12:35:40 -03:00
Felipe Alfonso
0186e122a6 If a container is nested the parentContainer property is setted 2018-03-29 12:34:23 -03:00
Richard Davey
37589ffe00 jsdoc updates 2018-03-29 15:12:32 +01:00
Richard Davey
cef9050627 jsdoc fixes 2018-03-29 14:53:06 +01:00
Richard Davey
e7191e9d8e jsdoc updates 2018-03-29 13:48:14 +01:00
Richard Davey
91008232ad jsdoc fixes 2018-03-29 13:12:07 +01:00
Richard Davey
562344fed0 The ComputedSize Component now has setSize and setDisplaySize methods. This component is used for Game Objects that have a non-texture based size. 2018-03-29 12:55:28 +01:00
Richard Davey
fba8183d94 Fixed docs order 2018-03-29 12:54:33 +01:00
Richard Davey
aec64c635e Removed floats 2018-03-29 12:54:12 +01:00
Felipe Alfonso
e0f678d1ff Merge branch 'master' into containers 2018-03-28 20:49:00 -03:00
Felipe Alfonso
88ed9bd3b8 transform to container space 2018-03-28 20:47:57 -03:00
Richard Davey
747f09af86 jsdoc fixes 2018-03-28 15:04:09 +01:00
Richard Davey
15c4334dc7 jsdoc fixes 2018-03-28 14:11:46 +01:00
Richard Davey
f10efda8f0 font is non-optional, so removed coordinates as optional 2018-03-28 12:05:03 +01:00
Felipe Alfonso
b23ad3b130 Fixed issue with creating containers and graphics with scene.make. 2018-03-27 17:32:33 -03:00
Felipe Alfonso
d544701495 parentMatrix added to individual game object render function 2018-03-27 14:49:09 -03:00
orblazer
ae0b3b841b Fix types on GameObjects 2018-03-27 14:52:58 +02:00
Felipe Alfonso
9a2ec4225a Merge branch 'master' into containers 2018-03-26 21:17:07 -03:00
Richard Davey
1f44366bc7 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-27 01:09:34 +01:00
Richard Davey
933e193ccf Group.destroy has a new optional argument destroyChildren which will automatically call destroy on all children of a Group if set to true (the default is false, hence it doesn't change the public API). Fix #3246 2018-03-27 01:09:30 +01:00
Richard Davey
25cbb320a5
Merge pull request #3453 from orblazer/genericTypes
Change structs for generic types
2018-03-27 00:37:34 +01:00
Felipe Alfonso
f6eef58608 Merge branch 'master' into containers 2018-03-26 19:57:11 -03:00
Felipe Alfonso
eac2b8338e parentTransformMatrix argument added to texture pipeline 2018-03-26 17:23:18 -03:00
Samid\Sami
20b9930335 Fix calling non existing start() instead of startFollow() in setPath(config) 2018-03-25 10:44:24 +02:00
Felipe Alfonso
5bcd12fcb7 Base container rendering + sprite batching with parent matrix 2018-03-23 14:15:52 -03:00
orblazer
f42f1bf132 Change structs for generic types 2018-03-23 16:54:12 +01:00
Richard Davey
2cd7da0126 The RenderTexture now uses the ComputedSize component instead of Size (which requires a frame), allowing calls to getBounds to work. Fix #3451 2018-03-23 10:00:25 +00:00
Richard Davey
04b5985724
Merge pull request #3445 from delftswa2018/3385-Rendertexture-alpha-not-changing-in-WEBGL-mode
Fix changing alpha in RenderTextureWebGLRenderer
2018-03-22 14:52:14 +00:00
Gerard van Alphen
78c1e86021 Fix changing alpha in RenderTextureWebGLRenderer 2018-03-22 14:58:41 +01:00
Richard Davey
5816b863fa Removed TransformNode so it doesn't break the 3.3 CI build 2018-03-22 13:19:52 +00:00
Richard Davey
0ef92e1172 Merge branch 'pr/3439' 2018-03-21 16:06:56 +00:00
Richard Davey
8e7944a1b4 Updated EventEmitter reference 2018-03-21 14:09:58 +00:00
Richard Davey
3f0ee709f0 Renamed methods to avoid confliction with Animation component 2018-03-21 14:09:30 +00:00
orblazer
439df07fd5 Fix "object" type on GameObjects and Input 2018-03-21 12:19:31 +01:00
Richard Davey
db613c793a Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-21 03:17:00 +00:00
Richard Davey
786d181a91 Sorted the components 2018-03-21 03:16:49 +00:00
orblazer
4f7f2b8981 Fix RemoveCallback call on Group 2018-03-21 00:32:13 +01:00
orblazer
5a518f2e5f Fix "object" types on Camera and GameObjecs 2018-03-20 23:28:26 +01:00
Richard Davey
d329724ae5 Added the ComputedSize component to the Text Game Object, which allows Text.getBounds, and related methods, to work again instead of returning NaN. 2018-03-20 19:00:48 +00:00
Richard Davey
28206e872f
Merge pull request #3433 from orblazer/fix-types
Fix "any" types
2018-03-20 16:28:43 +00:00
orblazer
7fba122321 Fix "any" types 2018-03-20 17:15:49 +01:00
Richard Davey
31bf979eb2
Merge pull request #3432 from orblazer/fix-types
Fix nullable and multiple types
2018-03-20 15:31:17 +00:00
Felipe Alfonso
701d43b3c3 TransformNode Implemented for nested transformations 2018-03-20 12:15:14 -03:00
orblazer
87633fdfad Fix multiple types on GameObjects 2018-03-20 15:56:31 +01:00
orblazer
4cff464555 Fix nullable types 2018-03-20 15:36:03 +01:00
Richard Davey
b6f2c80ae6 Groups will now listen for a destroy event from any Game Object added to them, and if received will automatically remove that GameObject from the Group. Fix #3418 2018-03-20 01:08:45 +00:00
Richard Davey
cb5b12e9d3 The GameObject destroy event is now emitted at the start of the destroy process, before things like the body or input managers have been removed, so you're able to use the event handler to extract any information you require from the GameObject before it's actually disposed of. Previously, the event was dispatched at the very end of the process. 2018-03-20 01:05:53 +00:00
Richard Davey
3591edcb73
Merge pull request #3417 from rexrainbow/master
Bug fix: font might not sync to context
2018-03-20 00:34:51 +00:00
orblazer
b4a30b8e43 Add callbacks on GameObjects 2018-03-19 22:27:16 +01:00
orblazer
bf630f7d57 Fix types in JSDocs 2018-03-19 19:49:14 +01:00