Commit graph

1107 commits

Author SHA1 Message Date
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
orblazer
ae0b3b841b Fix types on GameObjects 2018-03-27 14:52:58 +02: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
Samid\Sami
20b9930335 Fix calling non existing start() instead of startFollow() in setPath(config) 2018-03-25 10:44:24 +02: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
Richard Davey
620bcc6ae5 jsdoc fixes and additions 2018-03-19 13:45:00 +00:00
orblazer
87d6cdaff8 Update JSDoc on GameObjects 2018-03-19 13:50:32 +01:00
orblazer
90def456f2 Update JSDoc on GameObjects 2018-03-19 12:54:31 +01:00
Rex
4125e74550 Bug fix: font might not sync to context
Sync font before runWordWrap
2018-03-18 22:53:02 +08:00
Richard Davey
cc0998660e Updated jsdocs 2018-03-18 13:43:37 +00:00
Richard Davey
a8886a60d3 Actually round the value. 2018-03-17 17:03:30 +00:00
Richard Davey
05a4385cd7 jsdoc fixes 2018-03-16 17:29:39 +00:00
Richard Davey
24eec0ccd0
Merge pull request #3365 from samme/feature/tilesprite-settileposition
Add Phaser.GameObjects.TileSprite#setTilePosition
2018-03-16 12:55:03 +00:00
Richard Davey
19ea528c99
Merge pull request #3392 from samme/feature/group-create-active
Add `active` to Group create methods
2018-03-16 12:51:21 +00:00
Richard Davey
1fea31bac8 Fixed package names 2018-03-16 00:46:39 +00:00
Richard Davey
19a17bcf63 Updating docs 2018-03-15 17:27:30 +00:00
samme
731b006ec3 Add active to Group create methods
- Adds `active=true` argument to Group#create
- Adds `active=true` config value to Group#createMultiple etc.
2018-03-14 12:22:08 -07:00
Richard Davey
1d23aad976 TextStyle has two new properties: baselineX and baselineY which allow you to customize the 'magic' value used in calculating the text metrics. 2018-03-13 13:21:51 +00:00
Richard Davey
247e8b9337 Text.setFixedSize was incorrectly setting the text property instead of the parent property. Fix #3375 2018-03-12 16:34:21 +00:00
Richard Davey
1ebf639de3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-12 16:30:16 +00:00
Felipe Alfonso
be81ddfd51 Fixed issue on RenderTexture canvas clear. The clearRect was affected by previous transformations 2018-03-12 13:30:05 -03:00
Richard Davey
267e8b4b84 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-12 16:27:49 +00:00