Commit graph

1269 commits

Author SHA1 Message Date
Richard Davey
107ca71d6b BitmapText, both static and dynamic, can now take any data-type, including numbers, for the text argument in the constructor. Before they only worked via setText 2018-05-03 15:52:12 +01:00
Richard Davey
c13c828dc4 lint fix 2018-05-02 11:36:03 +01:00
Richard Davey
28251fd0f5 addToScene added to all Game Object Creators 2018-05-02 10:57:26 +01:00
Richard Davey
a30d5acb9e The Graphics Creator would automatically add the Graphics to the display list by mistake. The default should be to remain hidden. Fix #3637 2018-05-02 10:57:04 +01:00
Richard Davey
661ed5f675
Merge pull request #3629 from samme/fix/setEmitZone
Fix `source` checks in ParticleEmitter#setEmitZone
2018-05-01 11:38:52 +01:00
Richard Davey
3323b785b2 space-infix fix 2018-04-30 13:03:44 +01:00
Richard Davey
63dbd9fd12 The Animation Component setProgress method was setting the frame on the wrong object. Fix #3633 2018-04-30 12:37:50 +01:00
Richard Davey
373ebe7d3f Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-30 12:28:36 +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
samme
5fc6f94c67 Remove source checks in setEmitZone 2018-04-28 13:10:22 -07:00
samme
f59f90d2ca Correct source types in *ZoneConfig definitions 2018-04-28 13:09:59 -07:00
samme
84ba1ba191 Correct source checks in setEmitZone 2018-04-28 08:41:32 -07:00
Rex
0a46d64328 Remove extra space in each line end
Add space only when the word index is greater than last one.
2018-04-28 14:54:59 +08:00
Richard Davey
2037cf468b More clarity. #3622 2018-04-27 12:42:37 +01:00
Richard Davey
b2b631534c
Merge pull request #3616 from samme/fix/particles
Fix ParticleEmitter#toJSON() output
2018-04-26 13:03:30 +01:00
samme
bd9831912c Don't stringify emitter ops twice 2018-04-24 14:20:23 -07:00
samme
0de5340201 Add 'angle' to configOpMap
It was missing from toJSON() output
2018-04-24 14:20:23 -07:00
samme
66f1ff848e Fix no children created from GroupCreateConfig[] (multiple adds)
Fixes #3612
2018-04-23 18:14:36 -07:00
Richard Davey
6d958c5157 jsdoc udpate 2018-04-23 23:39:24 +01:00
Richard Davey
e3c28d3cd9 Removed un-needed arguments 2018-04-23 17:28:37 +01:00
Richard Davey
ed2eafb3b3 Code tidying 2018-04-23 00:13:11 +01:00
Richard Davey
ced2d34b34 BitmapMask and GeometryMask both have new destroy methods which clear their references, freeing them for gc. 2018-04-23 00:13:04 +01:00
Richard Davey
30a0ff02cb
Merge pull request #3600 from samme/docs/particles
Add docs for gameobjects/particles
2018-04-22 23:07:51 +01:00
Richard Davey
f34a507002
Merge pull request #3605 from zilbuz/master
Update GetBounds.getBounds() JSDoc
2018-04-22 23:06:25 +01:00
samme
711d2a6193 Minor additions and corrections to docs 2018-04-20 21:00:19 -07:00
Richard Davey
606ba6d8d7 Added new Mask component and added to all relevant Game Objects 2018-04-20 18:57:49 +01:00
Basile Desloges
a7fc306329 Update GetBounds.getBounds() JSDoc so that @generic matches with @param and @return 2018-04-20 17:55:32 +02:00
samme
8b939d7790 Omit EmitterOpEmitConfig, EmitterOpUpdateConfig 2018-04-20 06:51:31 -07:00
Richard Davey
6299019838 Updated to use typeof DefinePlugin check. 2018-04-20 00:23:24 +01:00
samme
0b881e9a4e Add particles docs 2018-04-19 14:05:21 -07:00
Richard Davey
349a95bc4b Updating to 3.6.0 2018-04-19 14:45:45 +01:00
Richard Davey
cfc4528370 Containers no longer in beta. 2018-04-19 14:35:17 +01:00
Richard Davey
3d0be3e20c Group.remove and clear have optional destroyChild arguments 2018-04-19 14:13:46 +01:00
Richard Davey
e14d0c5054 eslint fixes 2018-04-19 13:57:33 +01:00
Richard Davey
cb4eb9e435 Rescoped RetroFont so it's no longer bound to BitmapText 2018-04-19 13:07:59 +01:00
Richard Davey
5b31a51dd5 Rescoped 2018-04-19 12:42:35 +01:00
Richard Davey
32ce8d7947 jsdoc fixes and removed un-used ResetKey file. 2018-04-19 12:30:38 +01:00
Felipe Alfonso
4496e773a7 Removed particle scroll factor property and calculation from canvas rendering 2018-04-18 18:44:09 -03:00
samme
1c0905a103 Fix incorrect active state selection 2018-04-18 08:44:10 -07:00
Richard Davey
23f353326c jsdoc fix 2018-04-18 13:48:25 +01:00
Richard Davey
6e77557375 jsdoc fixes 2018-04-18 13:34:22 +01:00
Richard Davey
b0544c73b8 jsdoc fixes 2018-04-18 13:29:22 +01:00
Richard Davey
d96382f94d Added getFirstNth and getLastNth 2018-04-18 13:28:57 +01:00
Richard Davey
55965c748f jsdoc fixes 2018-04-18 12:13:49 +01:00
Richard Davey
5b4feedcaf Added Group.GetLast 2018-04-18 04:01:06 +01:00
Richard Davey
1be486fab4 destroy only called once, no matter how many times the Scene restarts. Fix #3581 2018-04-17 12:25:45 +01:00
Richard Davey
348aeec4ec
Merge pull request #3580 from jmcriat/patch-1
Delete Texture only applicable on renderer.gl
2018-04-17 02:36:17 +01:00
Richard Davey
07a55e5d1f Removed debug call and merged Scene Systems boot and start sequences. Fix #3579 2018-04-17 02:34:07 +01:00
José Maria
607ce3a9bb
Delete Texture only applicable on render.gl
There is no deleteTexture on this.renderer when running on canvas.
 Destroying tilesprite (scene shutting down) would throw error.
2018-04-16 21:50:04 -03:00
Richard Davey
28e2764723 More jsdoc fixes 2018-04-16 16:02:27 +01:00